utils

package
v0.0.0-...-11946d1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDir

func CreateDir(dirs ...string) (err error)

CreateDir

@Description: 创建文件夹
@param dirs
@return err

func GetWriteSyncer

func GetWriteSyncer() (zapcore.WriteSyncer, error)

func PathExists

func PathExists(path string) (bool, error)

PathExists

@Description: 判断文件路径是否存在
@param path
@return bool
@return error

Types

This section is empty.

Jump to

Keyboard shortcuts

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