Looking to do something like this
curr := foo()["blah"].(string)
curr, err := strconv.ParseFloat(curr, 64)
ERROR: cannot assign float64 to curr (type string) in multiple assignment
I dont want to make another temporary variable that I won't use after the conversion. I'm fairly new to Go so is there an approach that will help me avoid
temp := foo()["blah"].(string)
curr, err := strconv.ParseFloat(temp, 64)