You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @onsunny - Go files under the same directory belong to the same package. So you don't need to "import" anything if you want to use things from db.go into main.go. I don't know why you cannot import "fmt' though.
In any case, unlike other projects, we do not use the issue tracker for questions such as these. It is only used for bugs and feature proposals. I will close this issue, but please feel free to ask it in any of these forums below:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Why go package manager is so hard to use?
Why I can't import some package by a relative path, if I rename my project , I need replace all of my imported packages in this project
What did you see instead?
The text was updated successfully, but these errors were encountered: