diff --git a/v2/types/types.go b/v2/types/types.go index 156b62b3..d3b46ec8 100644 --- a/v2/types/types.go +++ b/v2/types/types.go @@ -482,6 +482,10 @@ var ( Name: Name{Name: "int16"}, Kind: Builtin, } + Int8 = &Type{ + Name: Name{Name: "int8"}, + Kind: Builtin, + } Int = &Type{ Name: Name{Name: "int"}, Kind: Builtin, @@ -498,6 +502,10 @@ var ( Name: Name{Name: "uint16"}, Kind: Builtin, } + Uint8 = &Type{ + Name: Name{Name: "uint8"}, + Kind: Builtin, + } Uint = &Type{ Name: Name{Name: "uint"}, Kind: Builtin, @@ -535,12 +543,12 @@ var ( "int64": Int64, "int32": Int32, "int16": Int16, - "int8": Byte, + "int8": Int8, "uint": Uint, "uint64": Uint64, "uint32": Uint32, "uint16": Uint16, - "uint8": Byte, + "uint8": Uint8, "uintptr": Uintptr, "byte": Byte, "float": Float,