1B. Go - Modules/Get

Go Module, allows easier use of dependencies and organization.


- go mod init MODULENAME // creates a new go module using a domain name

- go get -d PACKAGE // get package but do not build and install using d flag. Packages will be downloaded to GOPATH.

Comments

Popular posts from this blog

20. Data Analytics - Analyze Data to Answer Questions - Week 1

14. Go - Methods and Pointers

5. SQL Injection - Blind SQL Injection