https://github.com/z6wdc/go-leetcode
https://github.com/z6wdc/go-leetcode
go golang leetcode
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/z6wdc/go-leetcode
- Owner: z6wdc
- Created: 2025-07-10T10:37:02.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-11T00:48:03.000Z (3 months ago)
- Last Synced: 2025-07-11T02:39:49.103Z (3 months ago)
- Topics: go, golang, leetcode
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-leetcode
A CLI tool to fetch LeetCode problems and generate solution/test/README templates.
## Features
- Fetch LeetCode problem by slug
- Auto-generate:
- `solution.go` (e.g., `two_sum.go`)
- `solution_test.go` (e.g., `two_sum_test.go`)
- `README.md` with metadata and content## Usage
```bash
# Fetch a problem by slug
go run main.go fetch two-sum
```