- 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.
推薦閱讀
- 樂學Windows操作系統
- Containerization with LXC
- 每天5分鐘玩轉Kubernetes
- Designing Purpose:Built Drones for Ardupilot Pixhawk 2.1
- 鴻蒙生態:開啟萬物互聯的智慧新時代
- Linux性能優化
- SharePoint 2013 應用開發實戰
- macOS效率手冊
- Joomla! 3 Template Essentials
- Mastering Reactive JavaScript
- 從實踐中學習Kali Linux無線網絡滲透測試
- ElasticSearch Cookbook
- Linux服務器配置與管理
- Hands-On UX Design for Developers
- CentOS 6 Linux Server Cookbook