type mystring string
func (self *mystring) ToUpper() mystring {
return mystring(strings.ToUpper(string(*self)))
}
I'm new to Go, have little understanding and knowledge about it. So I'd like to ask what the cost is in that kind of helper functions and the involved conversions on things like memory load, added CPU time, etc.
Thank you, Haddock