which:从 Golang 可执行文件中读取导入路径和目标平台字符串

时间:2024-07-01 00:32:57
【文件属性】:

文件名称:which:从 Golang 可执行文件中读取导入路径和目标平台字符串

文件大小:2.26MB

文件格式:ZIP

更新时间:2024-07-01 00:32:57

golang devops developer-tools golang-package Go

哪一个 显示 Go 可执行文件的导入路径的包。 安装 ~ $ go get -u github.com/rjeczalik/which 文档 cmd/gowhich 安装 ~ $ go get -u github.com/rjeczalik/which/cmd/gowhich ~ $ go install github.com/rjeczalik/which/cmd/gowhich 文档 示例用法 ~ $ gowhich godoc code.google.com/p/go.tools/cmd/godoc ~ $ gowhich ~ /bin/godoc code.google.com/p/go.tools/cmd/godoc cmd/gofile 安装 ~ $ go get -u github.com/rjeczalik/which/cmd/gofile ~ $


【文件预览】:
which-master
----.gitignore(259B)
----which_pe.go(2KB)
----.travis.yml(807B)
----LICENSE(1KB)
----which_test.go(2KB)
----testdata()
--------windows_386()
--------linux_amd64()
--------freebsd_386()
--------freebsd_amd64()
--------windows_amd64()
--------darwin_386()
--------linux_386()
--------darwin_amd64()
--------cmd()
----README.md(2KB)
----appveyor.yml(398B)
----which_macho.go(948B)
----which_elf.go(1KB)
----cmd()
--------gofile()
--------gowhich()
----which.go(6KB)

网友评论