Difference between revisions of "Go list"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
go list | go list | ||
− | go: go.mod file not found in current directory or any parent directory; see 'go help modules' | + | no Go files in /your/path/ |
+ | |||
+ | |||
+ | go list | ||
+ | go: [[go.mod]] file not found in current directory or any parent directory; see '[[go help modules]]' | ||
== Related == | == Related == |
Revision as of 14:39, 10 August 2022
go list
go list -f 'Template:.Target'
go list -u -m all
export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))
go list no Go files in /your/path/
go list go: go.mod file not found in current directory or any parent directory; see 'go help modules'
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: