diff options
Diffstat (limited to 'gocomplete/complete.go')
| -rw-r--r-- | gocomplete/complete.go | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/gocomplete/complete.go b/gocomplete/complete.go index 2cf4227..753a38e 100644 --- a/gocomplete/complete.go +++ b/gocomplete/complete.go @@ -536,14 +536,14 @@ func main() { modHelp := &complete.Command{ Sub: map[string]*complete.Command{ - "download": &complete.Command{}, - "edit": &complete.Command{}, - "graph": &complete.Command{}, - "init": &complete.Command{}, - "tidy": &complete.Command{}, - "vendor": &complete.Command{}, - "verify": &complete.Command{}, - "why": &complete.Command{}, + "download": {}, + "edit": {}, + "graph": {}, + "init": {}, + "tidy": {}, + "vendor": {}, + "verify": {}, + "why": {}, }, } @@ -563,38 +563,38 @@ func main() { help := &complete.Command{ Sub: map[string]*complete.Command{ - "bug": &complete.Command{}, - "build": &complete.Command{}, - "clean": &complete.Command{}, - "doc": &complete.Command{}, - "env": &complete.Command{}, - "fix": &complete.Command{}, - "fmt": &complete.Command{}, - "generate": &complete.Command{}, - "get": &complete.Command{}, - "install": &complete.Command{}, - "list": &complete.Command{}, + "bug": {}, + "build": {}, + "clean": {}, + "doc": {}, + "env": {}, + "fix": {}, + "fmt": {}, + "generate": {}, + "get": {}, + "install": {}, + "list": {}, "mod": modHelp, - "run": &complete.Command{}, - "test": &complete.Command{}, - "tool": &complete.Command{}, - "version": &complete.Command{}, - "vet": &complete.Command{}, - "buildmode": &complete.Command{}, - "c": &complete.Command{}, - "cache": &complete.Command{}, - "environment": &complete.Command{}, - "filetype": &complete.Command{}, - "go.mod": &complete.Command{}, - "gopath": &complete.Command{}, - "gopath-get": &complete.Command{}, - "goproxy": &complete.Command{}, - "importpath": &complete.Command{}, - "modules": &complete.Command{}, - "module-get": &complete.Command{}, - "packages": &complete.Command{}, - "testflag": &complete.Command{}, - "testfunc": &complete.Command{}, + "run": {}, + "test": {}, + "tool": {}, + "version": {}, + "vet": {}, + "buildmode": {}, + "c": {}, + "cache": {}, + "environment": {}, + "filetype": {}, + "go.mod": {}, + "gopath": {}, + "gopath-get": {}, + "goproxy": {}, + "importpath": {}, + "modules": {}, + "module-get": {}, + "packages": {}, + "testflag": {}, + "testfunc": {}, }, } |
