input

package
v0.0.0-...-ab4fb46 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessorType

type AccessorType int32
const (
	AccessorType_OnlyServer AccessorType = iota + 1
	AccessorType_ServerAndClient
)

type Element

type Element struct {
	// Protoに定義してある名前
	RawName string
	Value   int32
	Comment string
}

type Enum

type Enum struct {
	AccessorType AccessorType
	SnakeName    string
	Comment      string
	Elements     []*Element
}

func ConvertMessageFromProto

func ConvertMessageFromProto(file *protogen.File) ([]*Enum, error)

Jump to

Keyboard shortcuts

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