Difference between revisions of "Go list"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
* <code>go list -u -m all</code>
 
* <code>go list -u -m all</code>
  
* <pre>[[export]] PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</pre>
+
* <pre>export PATH=$PATH:$(dirname $(go list -f '{{.Target}}' .))</pre>
  
  

Revision as of 23:48, 11 November 2021

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


See also

Advertising: