That was awesome Gary
pprasanthi-MBP-A6F84:gomodtry pprasanthi$ go mod download -json
{
"Path": "github.com/davecgh/go-spew",
"Version": "v1.1.1",
"Info":
"/Users/pprasanthi/go/pkg/mod/cache/download/github.com/davecgh/go-spew/@v/v1.1.1.info",
"GoMod":
"/Users/pprasanthi/go/pkg/mod/cache/downloa
You can also use the handy command `go mod download -json` to view
information about the dependencies and where they are on disk for a module.
On Monday, 8 October 2018 22:29:46 UTC+1, ppras...@splunk.com wrote:
>
> Got it, Thanks Wagner.
> I did not set GOPATH since I was using GO111MODULE=on. S
Got it, Thanks Wagner.
I did not set GOPATH since I was using GO111MODULE=on. Since I did not use
GOPATH I was having a doubt about its physical presence.
But I found in the go root
/Users/xxx/go/pkg/mod/cache
Thanks Again.
On Monday, October 8, 2018 at 2:21:00 PM UTC-7, Wagner Riffel wrot
> 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:
>
> I followed below steps to run tests in go mod. In this proce
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