Exemple #1
0
func TestPinner(t *testing.T) {
	pinner.Register("github.com/StabbyCutyou/lib_a", "~> 0.4")
	pinner.Register("github.com/StabbyCutyou/lib_b", "= 2.1.4")

	err := pinner.Pin()
	if err != nil {
		t.Error(err)
	}

}
Exemple #2
0
func main() {
	pinner.Register("github.com/StabbyCutyou/lib_e", "~> 0.5")
	pinner.Register("github.com/StabbyCutyou/lib_d", "~> 1.0")

	pinner.RunMain()
}