My take is something like the following would be more idiomatic
// SummonerByName returns profile address and an error. We need it in case
where
// we cannot get the profile for some reason
func SummonerByName(name string, server string) (*SummonerProfile, error) {
var resp, err = http.Get(fmt.S
Thank you both for the suggestions.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://grou