Golang - get object type

package main

import (
"fmt"
"reflect"
)

func main() {

getObjType()
}

func getObjType(){

tst := "string"
fmt.Println(reflect.TypeOf(tst))
}

Comments

Popular posts from this blog

Dart syntax - initSate,Build,deactive, Dispose

Go - connect remote SQL server