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

update readme.md #1105

Open
Sajiyah-Salat opened this issue Jan 12, 2023 · 1 comment
Open

update readme.md #1105

Sajiyah-Salat opened this issue Jan 12, 2023 · 1 comment

Comments

@Sajiyah-Salat
Copy link

I think go get method is deprecated because when I ran
go get github.com/lib/pq
I got:
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
I am a beginner and I dont understand much please help.

@ghost
Copy link

ghost commented Jan 24, 2023

Hey! Have you tried running go mod init in your project's root directory?
Give that a try, then run the go get github.com/lib/pq command.

Let me know how that works!

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

1 participant