github.com/bobyang007/helper@v1.1.3/reflecth/types-gen.go (about) 1 //replacer:generated-file 2 3 package reflecth 4 5 import "reflect" 6 7 // TypeUint8 returns type of uint8. 8 func TypeUint8() reflect.Type { return reflect.TypeOf(uint8(0)) } 9 10 // TypeUint16 returns type of uint16. 11 func TypeUint16() reflect.Type { return reflect.TypeOf(uint16(0)) } 12 13 // TypeUint32 returns type of uint32. 14 func TypeUint32() reflect.Type { return reflect.TypeOf(uint32(0)) } 15 16 // TypeUint64 returns type of uint64. 17 func TypeUint64() reflect.Type { return reflect.TypeOf(uint64(0)) } 18 19 // TypeInt returns type of int. 20 func TypeInt() reflect.Type { return reflect.TypeOf(int(0)) } 21 22 // TypeInt8 returns type of int8. 23 func TypeInt8() reflect.Type { return reflect.TypeOf(int8(0)) } 24 25 // TypeInt16 returns type of int16. 26 func TypeInt16() reflect.Type { return reflect.TypeOf(int16(0)) } 27 28 // TypeInt32 returns type of int32. 29 func TypeInt32() reflect.Type { return reflect.TypeOf(int32(0)) } 30 31 // TypeInt64 returns type of int64. 32 func TypeInt64() reflect.Type { return reflect.TypeOf(int64(0)) } 33 34 // TypeFloat32 returns type of float32. 35 func TypeFloat32() reflect.Type { return reflect.TypeOf(float32(0)) } 36 37 // TypeFloat64 returns type of float64. 38 func TypeFloat64() reflect.Type { return reflect.TypeOf(float64(0)) } 39 40 // TypeComplex64 returns type of complex64. 41 func TypeComplex64() reflect.Type { return reflect.TypeOf(complex64(0)) } 42 43 // TypeComplex128 returns type of complex128. 44 func TypeComplex128() reflect.Type { return reflect.TypeOf(complex128(0)) } 45 46 // TypeByte returns type of byte. 47 func TypeByte() reflect.Type { return reflect.TypeOf(byte(0)) } 48 49 // TypeRune returns type of rune. 50 func TypeRune() reflect.Type { return reflect.TypeOf(rune(0)) } 51 52 // TypeUintptr returns type of uintptr. 53 func TypeUintptr() reflect.Type { return reflect.TypeOf(uintptr(0)) }