I'm wondering how experienced go devs would write the following simple function: https://go.dev/play/p/MZeKEWlmz0r. I'm mainly confused about the error handling if the error can come from multiple sources.
#How would you write this function
5 messages · Page 1 of 1 (latest)