xos

package
v0.0.0-...-34750b4 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODE_DIR  = 0
	MODE_FILE = 1
)

Variables

This section is empty.

Functions

func ListAllFilesRecur

func ListAllFilesRecur(path string, mode int) (files []string, err error)

返回所有文件或目录 递归

func ListSubFiles

func ListSubFiles(path string, mode int) ([]string, error)

返回下层所有文件或目录

func ListSubFilesRecur

func ListSubFilesRecur(path string, suffix string, mode int) (files []string, err error)

返回符合特定后缀的文件 或者目录

func TodayWithFormat

func TodayWithFormat(format string) *time.Time

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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