util

package
v0.0.0-...-d827859 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(path string) error

func GetMd5V1

func GetMd5V1(path string) (string, error)

获取文件md5,两种方式 v1比v2快一倍左右

func GetMd5V2

func GetMd5V2(path string) (string, error)

func GetTemplateFiles

func GetTemplateFiles(dir string) ([]string, error)

获取前端模板

func PathExists

func PathExists(path string) (bool, error)

检测并创建文件夹

Types

This section is empty.

Directories

Path Synopsis
e

Jump to

Keyboard shortcuts

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