-
Notifications
You must be signed in to change notification settings - Fork 8
20180505_what is vendor in golang
CI edited this page Aug 6, 2018
·
5 revisions
title: "Go 語言的 vendor 目錄" date: 2018-05-05 type: blog author: AppleBoy link: https://blog.wu-boy.com/2018/05/what-is-vendor-in-golang/ layout: post comments: true
很多朋友剛入門 Go 語言時,第一個會遇到的問題是,該如何設定專案配置,讓專案可以正常執行,在個人電腦該如何開發多個專案,這邊就會遇到該如何設定 $GOPATH
,我在這邊跟大家講個觀念,開發環境只會有一個 $GOPATH
,不管團隊內有多少專案,都是存放在同一個 GOPATH,避免每次開專案都要重新設定 $GOPATH
,而專案內用到的相依性套件,請各自維護,透過官方提供的 wiki,請選一套覺得好用的來使用吧,沒有最好的工具,找一套適合團隊是最重要的。
這邊不多說了,直接看影片教學最快了。
<iframe width="560" height="315" src="https://www.youtube.com/embed/DKqw_CvVklo" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>Go 語言線上課程目前特價 $1600,持續錄製中,每週都會有新的影片上架,歡迎大家參考看看,請點選底下購買連結: