Answer the question
In order to leave comments, you need to log in
Is it possible to put the package into the system?
They write something like
package main
import (
"github.com/vigo5190/goimports-example/a"
foo "github.com/vigo5190/goimports-example/a"
. "github.com/vigo5190/goimports-example/b"
_ "github.com/vigo5190/goimports-example/c"
)
Answer the question
In order to leave comments, you need to log in
Yes, there is a go get command for this.
Run go get github.com/vigo5190/goimports-example/a and all package files are downloaded into the cache on your disk.
By the way, if you just build the project, all the dependencies will also be successfully downloaded and saved, so don't worry.
And you can also put a caching server, it's called Athens .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question