Simple types / Boolean

var str = "true"
boolValue, _ := strconv.ParseBool(str)
//boolValue is true

fmt.Println("boolValue =", boolValue)