Closed drewlesueur closed 7 years ago
Your example shows how to return an int. How would I return a string?
int
string
it support all go's primity type, so you can return a go's string directly:
`var s string = "a golang string"
return s`
Your example shows how to return an
int
. How would I return astring
?