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

Cannot install #198

Open
domgolonka opened this issue Oct 26, 2020 · 2 comments
Open

Cannot install #198

domgolonka opened this issue Oct 26, 2020 · 2 comments

Comments

@domgolonka
Copy link

domgolonka commented Oct 26, 2020

% go get -u github.com/infobloxopen/protoc-gen-gorm
go: downloading github.com/gogo/protobuf v1.0.0
go: downloading github.com/jinzhu/gorm v1.9.1
go: downloading github.com/jinzhu/inflection v0.0.0-20180308033659-04140366298a
go: github.com/gogo/protobuf upgrade => v1.3.1
go: github.com/jinzhu/inflection upgrade => v1.0.0
go: github.com/jinzhu/gorm upgrade => v1.9.16
# github.com/infobloxopen/protoc-gen-gorm/plugin
plugin/imports.go:116:16: cannot use dep (type string) as type generator.GoPackageName in argument to p.Generator.PrintImport
plugin/imports.go:116:16: cannot use dep (type string) as type generator.GoImportPath in argument to p.Generator.PrintImport
plugin/imports.go:125:16: cannot use a (type string) as type generator.GoPackageName in argument to p.Generator.PrintImport
plugin/imports.go:125:36: cannot use githubImports[a].packagePath (type string) as type generator.GoImportPath in argument to p.Generator.PrintImport
plugin/plugin.go:111:26: cannot use file.FileDescriptorProto (type *descriptor.FileDescriptorProto) as type string in argument to p.Generator.SetFile
plugin/plugin.go:149:13: p.FileOf undefined (type *OrmPlugin has no field or method FileOf)
plugin/plugin.go:187:13: p.FileOf undefined (type *OrmPlugin has no field or method FileOf)
@sluedecke
Copy link

Same here, but when using the source instead of go get, it installs into $GOPATH/bin

@mayuresh82
Copy link

mayuresh82 commented Jan 5, 2021

see #174 and #98

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

3 participants