filesystem

package
v0.0.0-...-82269be Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(source string, dest string) (written int64, err error)

拷贝文件,从source到dest。

func CreateDir

func CreateDir(path string) (err error)

生成目录

func IsDir

func IsDir(path string) (isDir bool, err error)

判断是否是目录

func IsFile

func IsFile(path string) (isFile bool, err error)

判断是否是文件

func LoadJsonFile

func LoadJsonFile(filepath string, v interface{}) (err error)

读取Json文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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