Commit Graph
8 Commits
Author SHA1 Message Date
Tzu-Jung Lee 55cb08722d lint: s/+=1/++, remove else clauses 2017-01-17 00:30:36 -08:00
Tzu-Jung Lee af2a66b226 test_app: unexport internal function.
This reverts commit 24c9b2761d7da5ab5084310f0cb3e51c7fc9738d.
2017-01-16 23:23:19 -08:00
Tzu-Jung Lee 9134905f42 cleanup: replace common.Exit with log.Crit or log.Fatal
Later we can pick another logger that has fatal, like zap?
2017-01-16 23:23:19 -08:00
Tzu-Jung Lee 1150bbfe36 lint: s/common.Fmt/fmt.Sprintf 2017-01-16 23:20:04 -08:00
Tzu-Jung Lee fcaa545e1e lint: remove dot import (go-common)
Spell out the package explicitly.
This commit is totally textual, and does not change any logic.

The swiss-army knife package may serve a kick-start in early
stage development. But as the codebase growing, we might want
to retire it gradually:

  For simple wrapping functions, just inline it on the call site.
  For larger pice of code, make it an independent package.
2017-01-16 23:20:04 -08:00
Tzu-Jung Lee c65bb21a51 Makefile: add 'build' target 2017-01-16 22:33:48 -08:00
Tzu-Jung Lee aae3c91e88 fmt: run 'make fmt' 2017-01-16 22:03:27 -08:00
Tzu-Jung Lee 235b18d694 Makefile: add gmt and lint 2017-01-16 22:02:45 -08:00