Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertValue ¶
func ConvertValue(pv string, field entity.PrimitiveField) (interface{}, error)
ConvertValue holds value and error of conversion each cast (Parse*) returns falsy value when failed to parse argument
func NewDynamicMessage ¶
NewDynamicMessage is used from DynamicBuilder for extract *desc.MessageDescriptor from msg
func ToEntitiesFrom ¶
func ToEntitiesFrom(files []*desc.FileDescriptor) ([]*entity.Package, error)
ToEntitiesFrom normalizes descriptors to entities
package ├ messages ├ enums └ services
└ rpcs
Types ¶
type MessageSetter ¶
type MessageSetter struct {
// contains filtered or unexported fields
}
func NewMessageSetter ¶
func NewMessageSetter(m entity.Message) *MessageSetter
func (*MessageSetter) Done ¶
func (s *MessageSetter) Done() proto.Message
Click to show internal directories.
Click to hide internal directories.