Versions in this module Expand all Collapse all v0 v0.4.0 Oct 29, 2024 Changes in this version + func ProtoTypeToGoType(protobufType protoreflect.Kind, messageType, moduleName string) string + func TrimPackageName(name, packageName string) string + type Database struct + Kind DatabaseKind + func (d *Database) FieldName(name string) string + func (d *Database) Tag(name string) string + type DatabaseKind int + const MongoDB + type Field struct + func NewField(options FieldOptions) (*Field, error) + func (f *Field) ConvertDomainTypeToArrayWireType(receiver string, wireInput bool) string + func (f *Field) ConvertDomainTypeToMapWireType(receiver string, wireInput bool) string + func (f *Field) ConvertToWireType(wireInput bool) string + func (f *Field) ConvertWireOutputToArrayOutbound(receiver string) string + func (f *Field) ConvertWireOutputToMapOutbound(receiver string) string + func (f *Field) ConvertWireOutputToOutbound(receiver string) string + func (f *Field) DomainName() string + func (f *Field) DomainTag() string + func (f *Field) DomainType(isPointer bool) string + func (f *Field) DomainTypeForTest(isPointer bool) string + func (f *Field) InboundName() string + func (f *Field) InboundTag() string + func (f *Field) OutboundJsonTagFieldName() string + func (f *Field) OutboundName() string + func (f *Field) OutboundTag() string + func (f *Field) OutboundType(isPointer bool) string + func (f *Field) ValidationCall() string + func (f *Field) ValidationName(receiver string) string + func (f *Field) WireType(isPointer bool) string + type FieldOptions struct + IsHTTPService bool + Message *Message + ProtoField *protobuf.Field + ProtoMessage *protobuf.Message + Receiver string + Settings *settings.Settings + type Message struct + func NewMessage(options MessageOptions) *Message + func (m *Message) Kind(name string) MessageKind + func (m *Message) WireName(name string) string + func (m *Message) WireOutputToOutbound(name string) string + func (m *Message) WireToDomain(name string) string + func (m *Message) WireToDomainMapValueType(name string) string + type MessageKind int + const UnknownMessageKind + const WireInputMessage + const WireMessage + const WireOutputMessage + func (k MessageKind) String() string + type MessageOptions struct + Settings *settings.Settings