[go-nuts] How to resolve go lang dependencies from enterprise repository

2018-10-08 Thread pprasanthi via golang-nuts
I have built and published the go dependencies to our enterprise artifactory. Is there an efficient way to get the files from artifactory and use them in test runs? My dependencies are in jfrog artifactory. They appear like the following: go-local/github.com/davecgh/go-spew/@v/v1.1.1.zip

Re: [go-nuts] Where are the dependencies saved when we use go mod

2018-10-08 Thread pprasanthi via golang-nuts
wrote: > > > Where is the dependent github.com/stretchr/testify/assert downloaded - > I dont see it downloaded any where. > it still download physically, it's under $GOPATH/pkg/mod > On Mon, Oct 8, 2018 at 5:55 PM pprasanthi via golang-nuts > > wrote: > > >

[go-nuts] Where are the dependencies saved when we use go mod

2018-10-08 Thread pprasanthi via golang-nuts
I followed below steps to run tests in go mod. In this process I had few questions that needs clarification. 1. cd /tmp/gomodtry/tests/src/hello/hello_test.go package tests import ( “github.com/stretchr/testify/assert” “os” “testing” ) func GetEnv(key string, fallback string) string { e

[go-nuts] Get dependency from enterprise repository

2018-10-08 Thread pprasanthi via golang-nuts
I have built and published the go dependencies to our enterprise artifactory. Is there an efficient way to get the files from artifactory and use them in test runs? My dependencies are in jfrog artifactory. They appear like the following: go-local/github.com/davecgh/go-spew/@v/v1.1.1.zip