entproto

package
v0.0.0-...-f8808d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const FieldIsProto3Optional = "IsProto3Optional"

Variables

This section is empty.

Functions

func Generate

func Generate(options *Options)

Types

type Options

type Options struct {
	SchemaPath string
	ProtoDir   string

	AllFieldsRequired bool
	AutoAddAnnotation bool
	EnumUseRawType    bool
	SkipUnsupported   bool

	TimeProtoType        string
	UUIDProtoType        string
	UnsupportedProtoType string

	ProtoPackages []ProtoPackage
}

type ProtoPackage

type ProtoPackage struct {
	Path  string
	Pkg   string
	Types []string
}

func ParseProtoPackages

func ParseProtoPackages(raw string) []ProtoPackage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址