Documentation
¶
Index ¶
- Variables
- func CSVReader(file string) ([][]string, error)
- func DeleteAimInArray(aim string, list []string) []string
- func DownloadFile(filepath string, url string) error
- func GetMapKeys(mp map[string]string) []string
- func GetPlatformType() (string, string)
- func GetSliceByRange(d [][]string, start int, end int) [][]string
- func InitLogger()
- func InitSchedule()
- func IsDir(path string) bool
- func IsExists(path string) bool
- func MD5(c string) string
- func StringInArray(aim string, list []string) bool
- type WriteCounter
Constants ¶
This section is empty.
Variables ¶
View Source
var Scheduler = cron.NewWithLocation(time.Local)
Functions ¶
func DeleteAimInArray ¶
func DownloadFile ¶
func GetMapKeys ¶
func InitLogger ¶
func InitLogger()
func InitSchedule ¶
func InitSchedule()
func StringInArray ¶
Types ¶
type WriteCounter ¶
type WriteCounter struct {
Total uint64
}
func (WriteCounter) PrintProgress ¶
func (w WriteCounter) PrintProgress()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.