gogjango / gjango

golang gin with go-pg orm
Apache License 2.0
42 stars 14 forks source link

Cannot start project #141

Open rickschubert opened 3 years ago

rickschubert commented 3 years ago

Hi!

Thank you for this project, it looks certainly really nice for a database beginner like myself. I was trying to start it locally but I am getting the following error when running go run . in the root of the project:

go run: cannot run non-main package

I did execute the previous 3 commands as outlined in the readme successfully:

cp .env.sample .env
source .env
go get -v ./...

Would you be able to let me know what I am doing wrong?

My go version: go version go1.15.7 linux/amd64 My Linux version: 4.4.0-19041-Microsoft (Windows Linux Subsystem)

morenoh149 commented 2 years ago

same here

% go run .                                                                │
package github.com/gogjango/gjango is not a main package