Difference between revisions of "Go list"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
* <pre>export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</pre> | * <pre>export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</pre> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[go get]]</code> | ||
== See also == | == See also == |
Revision as of 14:13, 17 January 2022
go list
go list -f 'Template:.Target'
go list -u -m all
export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))
Related
See also
- Go, Gorutine:
go [ mod
|list
|fmt
,for
|build
|get
|version
|env | install | test
]go help
, Go template, Echo go web framework, Go packages, Blank identifier
Advertising: