Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnimplemented = errors.New("method not implemented")
ErrUnimplemented is returned when a method is not implemented.
Functions ¶
This section is empty.
Types ¶
type UnimplementedFromProto ¶
type UnimplementedFromProto struct{}
UnimplementedFromProto is a struct that implements the FromProto interface with a default method.
func (UnimplementedFromProto) FromProto ¶
func (u UnimplementedFromProto) FromProto(ptr any) error
FromProto returns ErrUnimplemented, indicating that the method is unimplemented.
type UnimplementedProto ¶
type UnimplementedProto struct {
UnimplementedToProto
UnimplementedFromProto
}
UnimplementedProto is a struct that implements the Proto interface with default methods.
type UnimplementedToProto ¶
type UnimplementedToProto struct{}
UnimplementedToProto is a struct that implements the ToProto interface with a default method.
Click to show internal directories.
Click to hide internal directories.