Tag: convert string to bool

Convert String to Bool in Golang

In the previous blogs, we learnt about conversion between int and string, string and float in Golang. This time we are going to convert String to Bool in Golang. Learn the above conversions. Convert String to Bool in Golang Using Strconv ParseBool func ParseBool(str string) (bool, error) The Golang Strconv ParseBool Function takes a string…
Read more