Or, more precisely, why are two separate but otherwise seemingly identical errors created by Go's errors.New
function not equal according to the ==
operator?
Consider the output of the following small program (Go Playground link) which compares Go's error values for equality:
package main