helper.v5

command
v0.0.0-...-4e682c9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2018 License: MIT Imports: 18 Imported by: 0

README

helper

功能

  1. 按照程序中设置的模板,生成习题解答文件夹,包括:
    1. README.md
    2. [题目].go
    3. [题目]_test.go
  2. 统计已经解答题目,在LeetCode-in-Go/README.md中自动生成
    1. 答题进度,并生成图标
    2. LeetCode 排名,并生成图标
    3. 按难度分类的答题进度统计表
    4. 已完成题目的目录
    5. 无法使用 Go 解答的题目列表
  3. 检查题目是否能够用 Go 语言解答,不能解答题目的题号,会保存起来。

使用方式

  1. 在命令行的本目录下,运行make,会自动生成程序。
  2. 在命令行的LeetCode-in-Go目录下,运行./helper,可以查看程序的帮助文件。

配置方法

  1. .gitignore中,添加一行*.toml
  2. LeetCode-in-Go目录下,添加文本文件leetcode.toml
  3. 把以下内容中的test分别修改为你的 leetcode 用户名密码后,复制到leetcode.toml中。
Login="test"
Password="test"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL