- Distributed Computing with Go
- V.N. Nikhil Anurag
- 144字
- 2021-06-24 18:36:06
go get
The go get is the utility provided by the standard library for package management. We can install a new package/library by running the following command:
$ go get git-server.com/user-name/library-we-need
This will download and build the source code and then install it as a binary executable (if it can be used as a standalone executable). The go get utility also installs all the dependencies required by the dependency retrieved for our project.
The go get utility is a very simple tool. It will install the latest master commit on the Git repository. For simple projects, this might be enough. However, as projects start growing in size and complexity, keeping track of the version of dependency being used might become critical. Unfortunately, go get is not great for such projects, and we might want to look at other package management tools.
推薦閱讀
- 全屋互聯(lián):智能家居系統(tǒng)開發(fā)指南
- 30天自制操作系統(tǒng)
- Learning Windows Server Containers
- 鴻蒙生態(tài):開啟萬物互聯(lián)的智慧新時代
- Linux實戰(zhàn)
- PLC控制系統(tǒng)應(yīng)用與維護
- Installing and Configuring Windows 10:70-698 Exam Guide
- Application Development in iOS 7
- HTML5 Enterprise Application Development
- Linux集群之美
- VMware Horizon Mirage Essentials
- OpenHarmony開發(fā)與實踐:基于紅莓RK2206開發(fā)板
- 鴻蒙HarmonyOS應(yīng)用開發(fā)入門
- 程序員必讀經(jīng)典(算法基礎(chǔ)+計算機系統(tǒng))
- SAP后勤模塊實施攻略:SAP在生產(chǎn)、采購、銷售、物流中的應(yīng)用