官术网_书友最值得收藏!

Package manager

If the Go ecosystem has a weak point, it is this. Go dependency management has always been something that requires a lot of attention.

If you do not know, the official repository of the Go dependencies is Git. Exactly, all Git, no matter if it's GitHub, Bitbucket, or any other. The problem is that when downloading a dependency using the Go command (go get ...), the version that will come to the application is always the one in the master repository. So there is no strict control of additions.

A package manager will use godep (https://github.com/tools/godep). This is a simple tool, which controls the versions used in the project guarding a JSON file with the repository URL and hash Git history.

主站蜘蛛池模板: 霍邱县| 手游| 诸城市| 延庆县| 芦溪县| 长泰县| 平顶山市| 扎鲁特旗| 宁陕县| 张家川| 永平县| 贵港市| 延安市| 宣化县| 新民市| 柳林县| 蚌埠市| 河津市| 屯留县| 巴中市| 兰溪市| 泸溪县| 长宁区| 绍兴市| 二手房| 泌阳县| 大荔县| 大埔区| 上思县| 桂平市| 措勤县| 长岛县| 根河市| 铜鼓县| 商南县| 高密市| 陇川县| 嘉兴市| 柯坪县| 台中县| 民乐县|