> I do not have, need or use a go.mod. 

I would still recommend to give it a try - it will likely make your Go dev 
life easier :)
Try to follow this recipe - you probably don't need to understand much of 
what's going on "up front" to get your code to build/test:

* assuming your Github / Gitlab etc. username is 'robs', create a directory 
outside of GOPATH: mkdir -p ~/dev/robs/dsrt
* copy all your code/files from the current place to under ~/dev/robs/dsrt
* cd ~/dev/robs/dsrt
* go mod init github.com/robs/dsrt (or "gitlab.com/robs/dsrt" etc.)  // 
this should create a go.mod file
* go install -v ./...
* go test -v ./...

See if it works for you, and if not, feel free to share what errors you get.


On Sunday, September 22, 2019 at 6:56:47 PM UTC+2, rob wrote:
>
> Hi.  I think I'm having an issue compiling my code w/ go 1.13.  I have 
> not had any issues up until now.  I have my code in the default 
> locations off of ~/go/src w/ a directory for each little bit of code I 
> wrote. 
>
> Running under linuxmint 19.2 amd64, I installed the go binary by first 
> nuking /usr/local/go, and then 
>
>      sudo tar -C /usr/local -xf go1.13.linux-amd64.tar.gz. 
>
> When I run go version, I get go version go1.13 linux/amd64 
>
> Now when I run 
>
>      go install dsrt 
>
> I'm getting an error message: 
>
>      can't load package: package dsrt: mallformed module path "dsrt" : 
> missing dot in first path element. 
>
> I do not have, need or use a go.mod.  In fact, I don't really understand 
> them.  And I don't yet understand what vendoring means. 
>
> As an aside, I also compile on a win10 amd64 computer.  I installed 
> windows binary in the usual way on that computer, compiled my code using 
> go install, and I've not had any issues there.  I only have an issue 
> here on linuxmint and go 1.13. 
>
> What's up? 
>
> --rob solomon 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/cb4951ef-36b9-4565-9535-8026667f7bfa%40googlegroups.com.

Reply via email to