-
Notifications
You must be signed in to change notification settings - Fork 39
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
Unable to compile #6
Comments
If you want to use go run you must specify all the files: Perhaps the simpler approach is to just use go build Linux: Windows: |
Ok, thanks a lot for the tip. I tried Could you please explain me the difference between this sample application and a 'typical' go application ? For my Gin based web app, I can just run |
Authboss -is- a typical Go application. It's your lack of knowledge of the Go toolchain that's making you believe otherwise. go run only works when you pass it all files required to run the project, go build uses package structure to dictate which files to use. |
Sorry to bother you again but I cannot make your sample work.
My error is :
I don't really understand as for example : NewMemStorer which is in storer.go is in the same package as blog.go. It should find it no ? What am I missing ? Something wrong with my setup ?
The text was updated successfully, but these errors were encountered: