Is there an equivalent in Golang to raising a NotImplementedException
in Python when you define an interface with methods that you don't want to implement yet? Is this idiomatic Golang?
For example:
type MyInterface interface {
Method1() bool
Method2() bool
}
// Implement this interface
type Thing struct {}
func (t *Thing) Method1() bool {
return true
}
func (t *Thing) Method2() bool {
// I don't want to implement this yet
}