filetil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileList

type FileList struct {
	IsDir   bool      // 是否是目录
	Path    string    // 文件路径
	Ext     string    // 文件扩展名
	Name    string    // 文件名
	Size    int64     // 文件大小
	ModTime time.Time // 文件修改时间戳
}

func ScanFiles

func ScanFiles(dir string) (files []FileList, err error)

Jump to

Keyboard shortcuts

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