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
ergo
-with-msg
Describe the bug
I got an error generating a setup using ergo:
Generating project "backend-migrator"... generating "backend-migrator/apps/migrator/backend.go" generating "backend-migrator/apps/migrator/tracker.go" generating "backend-migrator/apps/migrator/supervisor.go" generating "backend-migrator/apps/migrator/migrator.go" generating "backend-migrator/types.go" --- package backend-migrator import ( "ergo.services/ergo/gen" "ergo.services/ergo/net/edf" ) type DataToMigrate struct{ // Add your fields } func init() { types := []any{ DataToMigrate{}, } for _, t := range types { err := edf.RegisterTypeOf(t) if err == nil || err == gen.ErrTaken { continue } panic(err) } } --- error: 1:16: expected ';', found '-'
To Reproduce Steps to reproduce the behavior:
go install ergo.services/tools/ergo@latest
${GOPATH}/bin/ergo -path . \ -init migrator{module:github.com/ringods/backend-migrator} \ -with-app Migrator \ -with-sup Migrator:Supervisor \ -with-actor Supervisor:Backend \ -with-actor Supervisor:Tracker \ -with-msg DataToMigrate
Expected behavior Initial setup correctly generated. Generation works if I drop the -with-msg argument.
Environment (please complete the following information):
latest
The text was updated successfully, but these errors were encountered:
thank you for the report. I'll take a look
Sorry, something went wrong.
please, use https://github.com/ergo-services/tools/issues next time for the issues related to ergo tool
No branches or pull requests
Describe the bug
I got an error generating a setup using
ergo
:To Reproduce
Steps to reproduce the behavior:
ergo
tool usinggo install ergo.services/tools/ergo@latest
Expected behavior
Initial setup correctly generated. Generation works if I drop the
-with-msg
argument.Environment (please complete the following information):
latest
)The text was updated successfully, but these errors were encountered: