install instruction isnt working (anymore?)

Moved from GitHub badger/1415

Posted by Vincent864: > Getting Started > Installing
Instructs to use:
go get

Which gives:
package cannot find package “

And should probably just be:
go get

It’s my first minute visiting the project, so I’m not completely sure

(GO1.13.8 on Ubuntu 20.04 LTS kernel on MS - WSL2)

jmburges commented :


jarifibrahim commented :

@Vincent864 It should be go get -v . Please feel free to send a PR.

I had changed ti from go get to go get because if you run the command inside a project with go.mod, it downloads badger v1.6

 docker run -it golang:1.14 bash
root@045bc70ef964:/go# ls
bin  src
root@045bc70ef964:/go# cd
root@045bc70ef964:~# ls
root@045bc70ef964:~# mkdir foo
root@045bc70ef964:~# cd foo/
root@045bc70ef964:~/foo# go mod init foo
go: creating new go.mod: module foo
root@045bc70ef964:~/foo# go get -v
go: downloading v1.6.1
go: upgrade => v1.6.1
go: downloading v0.0.2
go: downloading v1.0.0
go: downloading v0.8.1
go: downloading v0.0.0-20190626221950-04f50cda93cb
go: downloading v0.0.0-20190306092124-e2d15f34fcf9
go: downloading v0.0.0-20190620200207-3b0461eec859
go: downloading v1.3.1
go: downloading v1.1.0
root@045bc70ef964:~/foo# cat go.mod 
module foo

go 1.14

require v1.6.1 // indirect

But it should be okay to change the go get command in the readme.