I am new a Golang programmer and I see code snippets were functions return err
as last argument a lot of time.
f, err := strconv.ParseFloat(asciiFloat, 64)
Question is must all functions be made to return err even if no error handling is involved in the function implementation.
And how will I know a function is or is not returning an err
value?
Must I checkout docs every time I need to use a function?