type Test struct {
Tests Tests
}
type Tests []*Test
I get the following error after generating code:
./values.generated.go:66: x.Tests.CodecEncodeSelf undefined (type Tests has no field or method CodecEncodeSelf)
./values.generated.go:76: x.Tests.CodecEncodeSelf undefined (type Tests has no field or method CodecEncodeSelf)
./values.generated.go:143: yyv5.CodecDecodeSelf undefined (type *Tests has no field or method CodecDecodeSelf)
./values.generated.go:175: yyv7.CodecDecodeSelf undefined (type *Tests has no field or method CodecDecodeSelf)
./values.generated.go:195: invalid receiver type []*Test ([]*Test is an unnamed type)
./values.generated.go:206: invalid receiver type *[]*Test ([]*Test is an unnamed type)
I have a struct that have a slice:
I get the following error after generating code: