util

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoParams

type ProtoParams struct {
	Proto struct {
		Path    string
		Package string
	}
	PbGo struct {
		Package    string
		ImportName string
	}
}

func BuildProtoParams

func BuildProtoParams(path string, rootDir cli.RootDir, protoOutDir string, pkg string) (out ProtoParams, err error)

type String

type String struct {
	Camel struct {
		Plural   string
		Singular string
	}
	CamelLower struct {
		Plural   string
		Singular string
	}
	Snake struct {
		Plural   string
		Singular string
	}
}

func Inflect

func Inflect(in string) (out String)

Jump to

Keyboard shortcuts

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