If I use gen to create a type on a pointer like so:
// +gen *
type T struct {
A int
}
The file that is generated is called *t_gen.go. This works fine with the standard go build system, but on Google AppEngine those files are not compiled into the final binary, so you end up with undefined type errors anywhere you use the new type.
If I use gen to create a type on a pointer like so:
The file that is generated is called
*t_gen.go. This works fine with the standard go build system, but on Google AppEngine those files are not compiled into the final binary, so you end up with undefined type errors anywhere you use the new type.