Help us shape the future of Go! Take the 2026 Go Developer Survey

signin

command module
v0.0.0-...-4facb6e Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: MIT Imports: 11 Imported by: 0

README

电子签到

go get github.com/steambap/signin

Build Status

Build

GOOS=linux GOARCH=amd64 go build -ldflags="-s -w"

API

get /log 获取日志

参数:

  • date 时间
  • loc 心栈编号

示例:/log?date=2017-09-06&loc=11

post /log 保存日志

参数:

  • date 时间
  • loc 心栈编号

示例:/log?date=2017-09-06&loc=11

get /loc/:loc/year/:num 获取年数据

参数:

  • loc 心栈编号
  • num 年份

示例: /loc/11/year/2017

get /loc/:loc 获取所有日期

参数:

  • loc 心栈编号

示例: /loc/11

get /loc/:loc/week/:day 获取周数据

参数:

  • loc 心栈编号
  • day 日期

示例: /loc/11/week/2017-09-25

License

所有代码的所有权和最终解释权属于北京龙泉寺

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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