util

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Camel2UnderScore

func Camel2UnderScore(name string) string

func Contains

func Contains(arr []string, elem string) bool

func FileExist

func FileExist(filename string) bool

func Must

func Must(err error)

func MustCloseFile

func MustCloseFile(f *os.File)

func MustGetProtoDefinition

func MustGetProtoDefinition(protoDir string, serviceName string) *proto.Proto

func MustWriteToFile

func MustWriteToFile(filename, content string)

func UnderScore2Camel

func UnderScore2Camel(name string) string

func Uniq

func Uniq(arr []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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