filelib

package
v0.0.0-...-dc66ec4 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PackTypeTAR   = "tar"
	PackTypeZIP   = "zip"
	PackTypeTARGZ = "tar.gz"
)

Variables

This section is empty.

Functions

func DeCompress

func DeCompress(srcFile string, dstDir string, srcType string) error

func GbkToUtf8

func GbkToUtf8(s []byte) (string, error)

func GetSupportPackType

func GetSupportPackType() []string

GetSupportPackType 返回fiellib包支持的文件格式

func Utf8ToGbk

func Utf8ToGbk(s []byte) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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