faas-cli icon indicating copy to clipboard operation
faas-cli copied to clipboard

Suggestion: migrate from Dep to Go Module

Open itscaro opened this issue 5 years ago • 6 comments

Since Go module is experimental in 1.11, we should wait for 1.12 to have this feature as official.

Expected Behaviour

Go module will be used to keep track of dependencies and avoid the need of GOPATH

Current Behaviour

dep is currently used

WIP

https://github.com/openfaas/faas-cli/compare/master...itscaro:go-module

itscaro avatar Oct 24 '18 22:10 itscaro

Derek add label: proposal

itscaro avatar Oct 24 '18 22:10 itscaro

Derek add label: proposal

alexellis avatar Oct 26 '18 07:10 alexellis

Derek add label: blocked

alexellis avatar Oct 26 '18 07:10 alexellis

Please see notes on: https://github.com/openfaas/faas/issues/875

alexellis avatar Oct 26 '18 07:10 alexellis

I've upgraded to Go 1.11 but continue to use dep -> https://github.com/openfaas/faas-cli/releases/tag/0.8.0

alexellis avatar Nov 27 '18 20:11 alexellis

Updated the branch so that there is only ref to go module, since 1.11 is already on master

itscaro avatar Dec 28 '18 11:12 itscaro