how to import and use an external library into a go project

Viewed 7921

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?

1 Answers
Related