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

Got type *generator.Package has no field or method AddFunction when run go build #2

Open
chengcheng-pei opened this issue Dec 27, 2019 · 0 comments

Comments

@chengcheng-pei
Copy link

No idea whether I should put the issue here. But could someone help me with this problem?

$ git clone git@github.com:burdiyan/schemagen.git
Cloning into 'schemagen'...
remote: Enumerating objects: 777, done.
remote: Total 777 (delta 0), reused 0 (delta 0), pack-reused 777
Receiving objects: 100% (777/777), 1.28 MiB | 5.63 MiB/s, done.
Resolving deltas: 100% (243/243), done.
$ cd schemagen/
$ git branch
* master
$ go clean
$ go get
# gopkg.in/alanctgardner/gogen-avro.v5/types
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/array.go:98:3: p.AddFunction undefined (type *generator.Package has no field or method AddFunction)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/array.go:99:3: p.AddFunction undefined (type *generator.Package has no field or method AddFunction)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/array.go:100:3: p.AddFunction undefined (type *generator.Package has no field or method AddFunction)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/array.go:101:3: p.AddStruct undefined (type *generator.Package has no field or method AddStruct)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/array.go:102:3: p.AddImport undefined (type *generator.Package has no field or method AddImport)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/array.go:110:3: p.AddFunction undefined (type *generator.Package has no field or method AddFunction)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/array.go:111:3: p.AddFunction undefined (type *generator.Package has no field or method AddFunction)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/array.go:112:3: p.AddImport undefined (type *generator.Package has no field or method AddImport)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/bool.go:77:3: p.AddStruct undefined (type *generator.Package has no field or method AddStruct)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/bool.go:78:3: p.AddFunction undefined (type *generator.Package has no field or method AddFunction)
../gocode/src/gopkg.in/alanctgardner/gogen-avro.v5/types/bool.go:78:3: too many errors

I git cloned https://github.com/burdiyan/schemagen. I run git build and then got the above error. Could someone help with this? Thanks

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