Skip to content

mreiferson/go-install-as

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

go-install-as

go install a package under a specific import path

Installation

$ make

Why

When building code for production you often want to have finer grain control over dependencies.

This tool allows you to go install packages, regardless of their source (private, etc.), into whatever import path you specify.

Example

We have a private-repository on github, say github.com/bitly/go-simplejson and we want the import path to be bitly/simplejson for our Go client applications...

$ git clone git@github.com:bitly/go-simplejson.git
$ cd go-simplejson
$ go tool install_as --import-as=bitly/simplejson

About

a Go tool to install a package with a specific import path

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages