in the spec i have something defined as: Inner ::= [10] IMPLICIT SEQUENCE { one INTEGER, two INTEGER }
Outer :== [11] IMPLICIT SEQUENCE { one Inner, two INTEGER ... } what are my options for tagging the "Inner" struct? do I need to specify the tag (10) in each instance, for example: type Inner struct { One int64 Two int64 } type Outer struct { One Inner `asn1:"tag:10"` Two int64 } Or is there another way to specify that the "Inner" struct is always encoded with this tag without having to carry it over to all other struct that may contain "Inner"? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.