News for hackers. Stuff that matters.
Re:Down the Golang Nil Rabbit Hole by jrockway on Tuesday March 30, 2021 @05:10AM (#26632516)
How are errors opaque? If you want a FooError:

   foo := &FooError{}
   if errors.As(err, &foo) {
       fmt.Println("foo error!")
   }

There are no comments on this comment yet.