We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have installed goqueryset which looks something like the following:
goqueryset
// go:generate goqueryset -in types.go // gen:qs type Object struct { ID id.TargetID `gorm:"PRIMARY_KEY"` LastSeen *LastSeen `gorm:"foreignkey:TargetID"` RegistrationStatus database.RegistrationStatus RegistrationToken string `gorm:"UNIQUE"` } // gen:qs type LastSeen struct { TargetID id.TargetID Time time.Time }
However, if I run the following go generate in the same folder that file is, I get an exit code of 0 and no file
go generate
0
The text was updated successfully, but these errors were encountered:
The problem is with go:generate, not with goqueryset.
go:generate
Just remove the space symbol before go:generate and it will work.
Sorry, something went wrong.
No branches or pull requests
I have installed
goqueryset
which looks something like the following:However, if I run the following
go generate
in the same folder that file is, I get an exit code of0
and no fileThe text was updated successfully, but these errors were encountered: