lib

package
v0.0.0-...-b0a87dc Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CSVReader

func CSVReader(file string) ([][]string, error)

func DeleteAimInArray

func DeleteAimInArray(aim string, list []string) []string

func DownloadFile

func DownloadFile(filepath string, url string) error

func GetMapKeys

func GetMapKeys(mp map[string]string) []string

func GetPlatformType

func GetPlatformType() (string, string)

GetPlatformType 获取系统架构

func GetSliceByRange

func GetSliceByRange(d [][]string, start int, end int) [][]string

func InitLogger

func InitLogger()

func InitSchedule

func InitSchedule()

func IsDir

func IsDir(path string) bool

func IsExists

func IsExists(path string) bool

func MD5

func MD5(c string) string

func StringInArray

func StringInArray(aim string, list []string) bool

Types

type WriteCounter

type WriteCounter struct {
	Total uint64
}

func (WriteCounter) PrintProgress

func (w WriteCounter) PrintProgress()

func (*WriteCounter) Write

func (w *WriteCounter) Write(p []byte) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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