Re:New in Go 1.20: wrapping multiple errors
by foldr on Sunday December 11, 2022 @09:40AM
(#33943586)
>When you carry around pointers to struct implementing interfaces, it does not check for anything at compile time.
What exactly do you mean here? You can't assign a value that doesn't implement an interface Foo to a variable of type Foo. That will cause a compile time error.
What exactly do you mean here? You can't assign a value that doesn't implement an interface Foo to a variable of type Foo. That will cause a compile time error.