Go Data Type Booleans Convert to String
package main//from w w w.j a va2s . c o m import ( "fmt" "reflect" "strconv" ) func main() { var b bool = true fmt.Println(reflect.TypeOf(b)) var s string = strconv.FormatBool(true) fmt.Println(reflect.TypeOf(s)) }