Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 740 Bytes

INSTALL.md

File metadata and controls

31 lines (22 loc) · 740 Bytes

Installation

Go package management is a mess right now. gopkg.in was a band-aid and worked well if dependencies were on the master branch or followed gopkg.in convention. The problem is and has always been how do you lock down to a specific commit or tag? That's where glide shines.

Pre-requisites

Install glide

Installing to $GOPATH

If you are not using glide in your project

cd $GOPATH/src
# remove dir if it exists
# rm -rf gopkg.in/mgutz/dat.v1
git clone -b v1 https://github.com/mgutz/dat gopkg.in/mgutz/dat.v1
cd gopkg.in/mgutz/dat.v1
glide install

Existing Glide Project

If you are already using glide for your project

glide get gopkg.in/mgutz/dat.v1