The code for both functions make it pretty clear that an error will only be returned if the input is invalid, which is not something that will occur with the known constants being fed into them.
Looking at the implementation is no guarantee that the implementation won't be changed in future.
Anyways, the point is I don't understand the point of err != nil bashing here, given there are two programs in the article that only contain one error check each.
That said I can't think of an alternative other then to reduce the number of panic()s hidden in various libraries.