xpath

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 6 Imported by: 2

Documentation

Overview

功能:文件名 说明:不包括扩展名

功能:路径 说明: path = dir + filename

Index

Constants

View Source
const (
	ALL_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789"
)

Variables

This section is empty.

Functions

func Date_filename

func Date_filename() string

Date_filename 日期文件名

func Executable_dir

func Executable_dir() string

Executable_dir 可执行文件-dir

func Executable_filename

func Executable_filename() string

Executable_filename 可执行文件-文件名

func Executable_path

func Executable_path() string

Executable_path 可执行文件-path

func Exist

func Exist(name string) bool

Exist 判断所给路径文件/文件夹是否存在

func Is_dir

func Is_dir(name string) bool

Is_dir 判断所给路径是否为文件夹

func Is_file

func Is_file(name string) bool

Is_file 判断所给路径是否为文件

func Mkdir

func Mkdir(name string) error

Mkdir 创建目录

func Rand_filename

func Rand_filename(length int) string

Rand_filename 随机文件名

Types

This section is empty.

Jump to

Keyboard shortcuts

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