I'm newbie to go lang and i created an hello project with intellij.
now I want to use external lib. for example:
connect into aerospike using:
http://www.aerospike.com/docs/client/go/examples.html
what I don't understand is how to import it into solution. I've run from the terminal the command:
go get github.com/aerospike/aerospike-client-go
but I don't see any result in the project and don't understand which object to use from my main method.
can you help?
The go get
command downloads the dependency to your $GOPATH dir from where it is accessible by the go compiler when building your sources. Now you simply have to import the package by its full name import github.com/aerospike/aerospike-client-go
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With