util

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComposeErrors added in v0.3.0

func ComposeErrors(errs []error) error

func FetchTags added in v0.3.0

func FetchTags(strs []string, prefix string) (tags []string)

func FindFunctionByName added in v0.3.0

func FindFunctionByName(fns []types.Function, name string) *types.Function

func IsInStringSlice

func IsInStringSlice(what string, where []string) bool

func LastUpperOrFirst added in v0.3.0

func LastUpperOrFirst(str string) string

Return last upper char in string or first char if no upper characters founded.

func ParseFile added in v0.3.0

func ParseFile(filename string) (*types.File, error)

func StatFile added in v0.3.0

func StatFile(absPath, relPath string) error

func ToLower added in v0.3.0

func ToLower(str string) string

func ToLowerFirst

func ToLowerFirst(s string) string

func ToSnakeCase

func ToSnakeCase(s string) string

func ToUpperFirst

func ToUpperFirst(s 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