The ASN.1 OBJECT IDENTIFIER type is mapped to the Go ObjectIdentifier type defined within the ASN.1 run-time (asn1rt.ObjectIdentifier). This in turn is mapped to a uint64 slice ([]uint64), with each uint64 representing a single subidentifier. For example:
ASN.1:
MyOID ::= OBJECT IDENTIFIER
Generated Go code:
type MyOID asn1rt.ObjectIdentifier