bzfile

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirList

func DirList(dirPath string) ([]string, error)

func GenQrcode

func GenQrcode(content, file string) error

GenQrcode 生成二维码

func IsExist

func IsExist(fp string) bool

func IsFile

func IsFile(fp string) bool

func Mkdir

func Mkdir(path string) error

func ParseByFile

func ParseByFile(filePath string, m map[string]string, parseFn func(s string, m map[string]string) string) (string, error)

func ParseByFileWithBrace

func ParseByFileWithBrace(filePath string, m map[string]string) (string, error)

func ParseByFileWithSquareBrace

func ParseByFileWithSquareBrace(filePath string, m map[string]string) (string, error)

func ReadBytes

func ReadBytes(filePath string) ([]byte, error)

func ReadString

func ReadString(filePath string) (string, error)

func ReadStringTrim

func ReadStringTrim(filePath string) (string, error)

func WriteBytes

func WriteBytes(filePath string, content []byte) (int, error)

func WriteString

func WriteString(filePath string, content string) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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