Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // docker run --name gomod --rm -it golang:1.15 bash // export USER=gomod // mkdir repo // cd repo // go mod init github.com/org/repo // go get golang.org/x/xerrors // go list -m all | awk 'NR>1 {sub(/^v/, "", $2); printf("{\""$1"\", \""$2"\", },\n")}' GoModNormal = []ftypes.Package{ {Name: "golang.org/x/xerrors", Version: "v0.0.0-20200804184101-5ec99f83aff1"}, } // https://github.com/uudashr/gopkgs/blob/616744904701ef01d868da4b66aad0e6856c361d/v2/go.sum GoModEmptyLine = []ftypes.Package{ {Name: "github.com/karrick/godirwalk", Version: "v1.12.0"}, {Name: "github.com/pkg/errors", Version: "v0.8.1"}, } // docker run --name gomod --rm -it golang:1.15 bash // export USER=gomod // mkdir repo // cd repo // go mod init github.com/org/repo // go get golang.org/x/xerrors // go get github.com/urfave/cli // go get github.com/stretchr/testify // go get github.com/BurntSushi/toml // go list -m all | awk 'NR>1 {sub(/^v/, "", $2); printf("{\""$1"\", \""$2"\", },\n")}' GoModMany = []ftypes.Package{ {Name: "github.com/BurntSushi/toml", Version: "v0.3.1"}, {Name: "github.com/cpuguy83/go-md2man/v2", Version: "v2.0.0-20190314233015-f79a8a8ca69d"}, {Name: "github.com/davecgh/go-spew", Version: "v1.1.0"}, {Name: "github.com/pmezard/go-difflib", Version: "v1.0.0"}, {Name: "github.com/russross/blackfriday/v2", Version: "v2.0.1"}, {Name: "github.com/shurcooL/sanitized_anchor_name", Version: "v1.0.0"}, {Name: "github.com/stretchr/objx", Version: "v0.1.0"}, {Name: "github.com/stretchr/testify", Version: "v1.7.0"}, {Name: "github.com/urfave/cli", Version: "v1.22.5"}, {Name: "golang.org/x/xerrors", Version: "v0.0.0-20200804184101-5ec99f83aff1"}, {Name: "gopkg.in/check.v1", Version: "v0.0.0-20161208181325-20d25e280405"}, {Name: "gopkg.in/yaml.v2", Version: "v2.2.2"}, {Name: "gopkg.in/yaml.v3", Version: "v3.0.0-20200313102051-9f266ea9e77c"}, } // docker run --name gomod --rm -it golang:1.15 bash // export USER=gomod // mkdir repo // cd repo // go mod init github.com/org/repo // go get github.com/khulnasoft/tunnel // go list -m all | awk 'NR>1 {sub(/^v/, "", $2); printf("{\""$1"\", \""$2"\", },\n")}' GoModTunnel = []ftypes.Package{}/* 336 elements not displayed */ )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.