util

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractSelector

func ExtractSelector(input string) (string, bool)

func HasLeadingSpace

func HasLeadingSpace(input string) bool

func HasTrailingSpace

func HasTrailingSpace(input string) bool

func IsSnakeCase

func IsSnakeCase(input string) bool

func NormalizeText

func NormalizeText(input string) string

func SplitVarDef

func SplitVarDef(varDef string) (string, string)

func StartsWithLower

func StartsWithLower(input string) bool

func ToCamelCase

func ToCamelCase(snakeCase string) string

func ToCamelExpr

func ToCamelExpr(snakeExpr string) string

func ToGoString

func ToGoString(input string) string

func ToHiddenName

func ToHiddenName(name string) string

func ToPublicName

func ToPublicName(name string) string

func ToSnakeCase

func ToSnakeCase(camelCase string) string

func ToSnakeExpr

func ToSnakeExpr(camelExpr string) string

func TrimWhiteSpaces

func TrimWhiteSpaces(input 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