common

package
v0.0.0-...-bd7b93c Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelToSnake

func CamelToSnake(input string) string

func GenerateID

func GenerateID(set *idl.FileSet, message *idl.Message) uint64

func GenerateMethodID

func GenerateMethodID(set *idl.FileSet, service *idl.Service, method *idl.Method) uint64

func ProcessInputFiles

func ProcessInputFiles(c *cli.Context) (*idl.FileSet, error)

func SnakeToCamel

func SnakeToCamel(input string) string

func Titleize

func Titleize(input string) string

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder() *Builder

func (*Builder) Absorb

func (b *Builder) Absorb(o *Builder)

func (*Builder) Printf

func (b *Builder) Printf(m string, a ...any)

func (*Builder) Printfln

func (b *Builder) Printfln(m string, a ...any)

func (*Builder) String

func (b *Builder) String() string

Jump to

Keyboard shortcuts

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