Commit Graph

7 Commits

Author SHA1 Message Date
Tim Hockin 592cbcb9d0 update go.mod to 1.16 2021-03-29 21:16:23 -07:00
Tim Hockin f77e3a54fc Add infrastructure for build tools
As per discussion with Go team.  it's hacky but it works.

create tools.go
git add tools.go
go mod vendor
git add vendor
go mod tidy
go mod vendor # again
2021-03-29 16:51:08 -07:00
Tim Hockin 20696689f3 Add help and manual flags, use pflag
THIS IS A BREAKING CHANGE

Switch flags implementation to use pflag.  This means that long flags
like `-username` must now use 2 dashes: `--username`.

The `-v` flag (verbose) used to accept `-v` or `--v`.  Now it only
accepts `-v.

The `--help` and `-h` flags are new.

The `--man` flag is new (print a man-page like help message).

Several glog flags which used to be exposed (e.g. --logtostderr) are no
longer exposed.  Logs always go to stderr.
2020-10-31 00:50:51 -07:00
Tim Hockin 0057fac0a4 Clean up docs 2019-11-26 14:12:47 -08:00
Tim Hockin 831eae8f9f Use official logr rather than thockin 2019-03-25 08:54:44 -07:00
Thomas Jackson e32712b301 Add basic prometheus metrics 2019-01-22 17:26:27 -08:00
Thomas Jackson 279bbc307e Switch from godeps to `go mod` 2019-01-22 11:21:57 -08:00