jsonparser icon indicating copy to clipboard operation
jsonparser copied to clipboard

package github.com/buger/jsonparser is not a main package

Open Raulbarossi opened this issue 2 years ago • 3 comments

I'm finding this problem when i run "go install github.com/buger/jsonparser@latest" in my terminal, could someone help?

image I'm using, GoLang 1.18 and the vscode terminal up there /\ and the regular windows terminal / right bellow image

when i try to import this msgs appears image

thanks for the time and help, nice day for everyone

Raulbarossi avatar Mar 18 '22 19:03 Raulbarossi

jsonparser does not have any executable. So instead of go install you should use go get

buger avatar Mar 19 '22 06:03 buger

jsonparser does not have any executable. So instead of go install you should use go get

Thanks for reply, i think it's cause the new version, look what i got when trying go get image i've been in go get before this on go install erros in go get, just forgot to say before

have u tried into the 1.18 version? thanks for the time, have a nice day

Raulbarossi avatar Mar 19 '22 19:03 Raulbarossi

Have you tried creating go.mod like described here? https://stackoverflow.com/questions/74921148/cant-install-a-go-module-using-get-u-and-install Was able to get the package this way

lin-crl avatar May 19 '23 22:05 lin-crl