knmr - Command Line Utility written in Go
knmr is command-line interface tool in Go.
$ go get github.com/Ken2mer/knmr
$ go install github.com/Ken2mer/knmr
knmr agent
- every 3s tick until signal receive
The knmr agent
command has an '-d' option for debug output.
knmr -d agent
- log output in DEBUG level
- Fork (https://github.com/ken2mer/knmr/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create new Pull Request
- use TOML parser
cf. TOML parser
BurntSushi/toml: TOML parser for Golang with reflection.
- go-libs
- Go client libraries for using third-party APIs
cf. awesome-go#third-party-apis
avelino/awesome-go: A curated list of awesome Go frameworks, libraries and software
- auth, login
- upload, postFile
- session
cf. LearnServerProgramming · golang/go Wiki
cf. Custom Handlers and Avoiding Globals in Go Web Applications · request / response
- How to build your own handler type
- How to explicitly pass a “context” containing our database pool, template map, a custom logger, ...