tengen-io / server

:white_circle: Server implementation of the board game Go
MIT License
13 stars 4 forks source link

cannot find package "github.com/camirmas/go_stop" #35

Closed jish closed 5 years ago

jish commented 5 years ago

Steps to reproduce:

$ mkdir -p $GOPATH/src/github.com/camirmas
$ cd $GOPATH/src/github.com/camirmas
$ git clone git@github.com:camirmas/go-stop-go.git
$ cd go-stop-go
$ go test

Actual behavior:

main.go:5:2: cannot find package "github.com/camirmas/go_stop/models"

Expected behavior:

The `models` package is found.

Is this a failure due to the name of the folder that the project is stored in? go_stop vs. go-stop-go. 🤔

jish commented 5 years ago

j/k I had to clone this repo outside of the $GOPATH and it looks like it works now.

$ cd <somewhere/not/in/GOPATH>
$ git clone git@github.com:camirmas/go-stop-go.git
$ cd go-stop-go
$ go test
?       github.com/camirmas/go_stop [no test files]
$ echo $?
0