kit icon indicating copy to clipboard operation
kit copied to clipboard

Installation Instructions are missing key context/steps to be successful in modern Go versions

Open Routhinator opened this issue 5 years ago • 1 comments

Hi,

I'm admittedly brand new in go. I'm familiar with Go modules, and with none of the older outdated setup methods. I've installed Go 1.15 based on the most up to date install instructions (https://golang.org/doc/install - I am using a system-wide install in /usr/local/)

I can't figure out if I am meant to be in a project or just anywhere when I run

go get github.com/kujtimiihoxha/kit

The command runs fine when I am in a project, but it installs it in the project (expected) and the next command go install kit fails as it is looking in /usr/local for the file:

❯ go install kit
package kit is not in GOROOT (/usr/local/go/src/kit)

Trying to run go get github.com/kujtimiihoxha/kit in any shell outside a project just fails silently.

I imagine I could clone the whole repo into /usr/local/go/src/kit - but is that the proper method? Is that going to mess things up? I don't know - as no context is given in the instructions.

Can you please update the directions to provide the missing context here? This application is aim at people new to Go-Kit, and presumably go, so as such I feel they are somewhat lacking.

Routhinator avatar Oct 24 '20 16:10 Routhinator

@Routhinator Hi, you could try to use it that supports the mod feature(https://github.com/GrantZheng/kit)

GrantZheng avatar Oct 27 '20 06:10 GrantZheng