Closed AlekSi closed 7 years ago
I noticed that some code paths use == "true". This means that, for example, True will not work. In the same time, bool's default description is True or False.
== "true"
True
bool
True or False
It's better to use strconv.ParseBool everywhere.
strconv.ParseBool
Yes 100%. I'd merge that PR so fast...
I noticed that some code paths use
== "true"
. This means that, for example,True
will not work. In the same time,bool
's default description isTrue or False
.It's better to use
strconv.ParseBool
everywhere.