Switch to go modules for dependency management.
Added support for dependency management using go modules. Note that Go version 1.11+ is required if using go modules for dependency management. Updated the gitlab CI yaml file to use go modules instead of copying everything to GOPATH. Ran go mod download before running build script to download all dependencies into cache.
This commit is contained in:
parent
fca8887adf
commit
4fbbf91b00
5 changed files with 88 additions and 12 deletions
|
@ -16,7 +16,7 @@
|
|||
// along with Elektron. If not, see <http://www.gnu.org/licenses/>.
|
||||
//
|
||||
|
||||
package main
|
||||
package main // import gitlab.com/spdf/elektron
|
||||
|
||||
import (
|
||||
"flag"
|
||||
|
|
Reference in a new issue