Tidy up module dependencies

Add missing and remove unused module dependencies

go mod tidy

tool
go10 commands
tags
go

More go commands

  • go mod vendor

    Copy all module dependencies into the vendor/ directory

  • go test -cpuprofile=cpu.prof -bench=. ./... && go tool pprof cpu.prof

    Run benchmarks, collect CPU profile, open pprof interactive UI

  • go list ./...

    Print import paths of all packages in the module

  • gofmt -w .

    Reformat all .go files in the current tree

  • go vet ./...

    Report likely mistakes in Go source code

all 10 go commands