go list

From wikieduonline
Revision as of 14:42, 10 August 2022 by Cry (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

https://manpages.debian.org/testing/golang-go/go-list.1.en.html

  • go list -u -m all
  • export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))


go list ./...


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[edit]

See also[edit]

Advertising: