DEV Community

Discussion on: Daily Challenge #310 - Boolean to String Conversion

Collapse
 
gargakshit profile image
Akshit Garg
package main

import (
    "fmt"
    "strconv"
)

func main() {
    myBool := true
    fmt.Println(strconv.FormatBool(myBool))
}
Enter fullscreen mode Exit fullscreen mode

Some go here