1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:44:43 -07:00
go/internal
Ian Cottrell 71d3d868db internal/tool: add a small package to unify the flag handling across all our tools
This adds an opinionated package that has the common code that should be in all
our tools (profiling, logging, context handling etc)
It also adds code for using struct fields as flags to allow us to remove all the
flag globals.

Change-Id: I27bb493ebcce3a86ddcdab87892a2295c237cb16
Reviewed-on: https://go-review.googlesource.com/c/154557
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2018-12-17 23:08:00 +00:00
..
fastwalk internal/fastwalk: avoid slice bounds out of range for long file names 2018-11-12 23:16:31 +00:00
gopathwalk internal/gopathwalk: ignore $GOROOT/.../vendor/ in module mode 2018-11-07 20:51:50 +00:00
jsonrpc2 internal/jsonrpc2: change to a more synchronous dispatch model 2018-11-14 19:09:51 +00:00
lsp internal/lsp: add support for running goimports as a code action 2018-12-17 20:01:16 +00:00
memcache godoc: move third-party godoc deps behind build tag 2018-10-02 22:38:33 +00:00
semver go/packages: add name= query 2018-10-16 20:20:09 +00:00
tool internal/tool: add a small package to unify the flag handling across all our tools 2018-12-17 23:08:00 +00:00