converting a boolean to a string in go code example Example: bool to string golang use the strconv package docs strconv.FormatBool(v)