Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Raulbarossi opened this issue Mar 18, 2022 · 3 comments
Open

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

Raulbarossi opened this issue Mar 18, 2022 · 3 comments

Comments

@Raulbarossi
Copy link

Raulbarossi commented Mar 18, 2022

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

@buger
Copy link
Owner

buger commented Mar 19, 2022

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

@Raulbarossi
Copy link
Author

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

@lin-crl
Copy link

lin-crl commented May 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants