Stop worrying about the versions of your Go dependencies.
Go CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
templates
.gitignore
LICENSE
README.md
application.go
server.go
server_test.go
wercker.yml

README.md

go get version wercker status GoDoc

Stop worrying about the versions of your Go dependencies.

This is still very much a work in progress. Currently, the only supported VCS is git.

Usage

Pinning dependencies for your Go applications is easy. Simply add the hostname you are running this from to the beginning of your import statements:

import "<HOSTNAME>/github.com/rsenk330/gogetver"

If you don't specify any version information, it will use the default behavior of pulling master.

To pin a version, add it to the end of the package path:

import "<HOSTNAME>/github.com/rsenk330/gogetver.v0.1"

How Versions Work

You are not forced into any particular naming scheme for your versions. This package will simply look for a branch or tag name matching the version specify.

Development

go get does not appear to work with ports, so to test locally, you'll need to use something like ngrok:

$ ngrok 3000

Once ngrok is up and running, you'll need to start the site. Gin is useful if you want to handle automatic reloading.

Using the hostname that was assigned to you by ngrok, pass start the app:

$ HOSTNAME=<HOSTNAME> gin

You can also run it without gin:

$ HOSTNAME=<HOSTNAME> go run server.go

Testing

$ go test