utils

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectFiles

func CollectFiles(dir string, extensions []string) ([]string, error)

CollectFiles Collect the files with these extensions under src

func Exist added in v1.0.0

func Exist(filename string) bool

Exist 检查文件或目录是否存在 如果由 filename 指定的文件或目录存在则返回 true,否则返回 false

func IsEmpty added in v1.0.0

func IsEmpty(i interface{}) bool

func IsNotEmpty added in v1.0.0

func IsNotEmpty(i interface{}) bool

func IsStartUpper added in v1.0.0

func IsStartUpper(s string) bool

func StartToLower added in v1.0.0

func StartToLower(s string) string

func StartToUpper added in v1.0.0

func StartToUpper(s string) string

func Substring

func Substring(str string, start, length int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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