fileUtil

package
v0.0.0-...-6fd7e0b Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VirtualPath       = "/qy-content"
	ContentPath       = "qy-content"
	TemplatePath      = "templates/"
	EmailTemplatePath = TemplatePath + "email/"
)

Variables

This section is empty.

Functions

func CheckAndMkdirAll

func CheckAndMkdirAll(parentPath string) error

func GetExt

func GetExt(pathStr string) string

func GetLocalPrefixPath

func GetLocalPrefixPath(prefix, filename string) (string, string)

func GetOssKey

func GetOssKey(prefix, filename string) string

Types

type IconConfig

type IconConfig struct {
	Value string `json:"value"`
	Name  string `json:"name"`
}

func GetAllFile

func GetAllFile(pathname string) ([]*IconConfig, error)

Jump to

Keyboard shortcuts

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