Skip to content

typecheck: type <struct> has no field or method <Field on embedded struct from another package> #2287

Answered by snowzach
snowzach asked this question in Q&A
Discussion options

You must be logged in to vote

Ahhh Brilliant! It's required to set a bunch of CGO variables before it will compile. Setting those seems to have resolved the issue. Thanks for answering so quickly!!! Sorry the issue seemed so unrelated I didn't think to check that.

Replies: 5 comments 17 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@liad-arnacio
Comment options

@snowzach
Comment options

Answer selected by snowzach
Comment options

You must be logged in to vote
9 replies
@butuzov
Comment options

@ubiuser
Comment options

@hunjixin
Comment options

@Shugyousha
Comment options

@Panlq
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@ldez
Comment options

@zhangtianze1997
Comment options

@bombsimon
Comment options

@zhangtianze1997
Comment options

@bombsimon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #2286 on October 08, 2021 18:25.