Skip to content
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

model db.CreateUserOfRole undefined #22

Open
aehm2k5 opened this issue Nov 29, 2020 · 0 comments
Open

model db.CreateUserOfRole undefined #22

aehm2k5 opened this issue Nov 29, 2020 · 0 comments

Comments

@aehm2k5
Copy link

aehm2k5 commented Nov 29, 2020

felix ginbro --dbAddr "X.X.X.X:YYYY" --dbName mydbname --dbPassword "mydbpass" --dbType mysql --dbUser mydbuser --dir myoutputdirectory --pkg mypackagename -V

produces:

2020/11/29 10:14:59 SQLite3 in: /home/ubuntu/.felix/sqlite.db
cd mypackagename then run go run main.go test your codebase

running: go run main.go
model/m_info_flags.go:50:11: db.CreateUserOfRole undefined (type *gorm.DB has no field or method CreateUserOfRole)
model/m_info_stats.go:62:11: db.CreateUserOfRole undefined (type *gorm.DB has no field or method CreateUserOfRole)
model/m_time_stats.go:61:11: db.CreateUserOfRole undefined (type *gorm.DB has no field or method CreateUserOfRole)
model/m_network_stats.go:61:11: db.CreateUserOfRole undefined (type *gorm.DB has no field or method CreateUserOfRole)
model/m_network_stats.go:61:11: too many errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant