An open API service indexing awesome lists of open source software.

https://github.com/z6wdc/go-leetcode


https://github.com/z6wdc/go-leetcode

go golang leetcode

Last synced: 3 months ago
JSON representation

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
```