util

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 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

func Exist(filename string) bool

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

func IsEmpty

func IsEmpty(i interface{}) bool

func IsNotEmpty

func IsNotEmpty(i interface{}) bool

func IsStartUpper

func IsStartUpper(s string) bool

func StartToLower

func StartToLower(s string) string

func StartToUpper

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