proto

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeProto

func MergeProto(p *ProtoContext) error

func SortEnum added in v1.7.4

func SortEnum(data map[string]parser.Enum) (result []string)

func SortImport added in v1.7.4

func SortImport(data map[string]parser.Import) (result []string)

func SortMessage added in v1.7.4

func SortMessage(data map[string]parser.Message) (result []string)

func SortService added in v1.7.4

func SortService(data map[string]parser.Service) (result []string)

Types

type ProtoContext

type ProtoContext struct {
	ProtoDir   string
	OutputPath string
	Multiple   bool
}

Jump to

Keyboard shortcuts

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