Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrTrailingDot = errors.New("trailing dot after message name")
)
Functions ¶
func SplitIdentifier ¶
SplitIdentifier splits an input string into the package identifier and the message name. e.g. google.protobuf.Timestamp - package google.protobuf; message Timestamp
returns ErrInvalidIdentifier if the input does not conform to this standard
func ValidateIdentifier ¶
Types ¶
type ErrInvalidIdentifier ¶
type ErrInvalidIdentifier struct {
Detail error
}
func (ErrInvalidIdentifier) Error ¶
func (e ErrInvalidIdentifier) Error() string
func (ErrInvalidIdentifier) Unwrap ¶
func (e ErrInvalidIdentifier) Unwrap() error
Click to show internal directories.
Click to hide internal directories.