This is a starter project for solving LeetCode problem using Go.
- Clone this repository.
- Update LICENSE (ex, change the author name).
- Run
make prepareto install the necessary packages. - Run
task lc -- {leetcode_problem_number}to generate code for solving a new LeetCode problem using Go. - Run
task testto test all of your code. - Update your progress in PROBLEM.md.
The command line was built with urfave/cli.
NAME:
lc - Generate code to solve a specific LeetCode problem
USAGE:
Run lc {problem_number}, ex.: lc 1234
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
Le Minh Tri @ansidev.
This source code is available under the MIT License.