use the strconv package
docs
strconv.FormatBool(v)
func FormatBool(b bool) string FormatBool returns “true” or “false”
according to the value of b
use the strconv package
docs
strconv.FormatBool(v)
func FormatBool(b bool) string FormatBool returns “true” or “false”
according to the value of b