golang get type of variable
1. reflect.TypeOf(varName)
2. fmt.Printf("%Tn", varName)
golang get type of variable
1. reflect.TypeOf(varName)
2. fmt.Printf("%Tn", varName)
variable types golang
// Go's basic types are :
bool
string
int int8 int16 int32 int64
uint uint8 uint16 uint32 uint64 uintptr
byte // alias for uint8
rune // alias for int32
// represents a Unicode code point
float32 float64
complex64 complex128
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us