Documentation ¶
Index ¶
- func CleanData(data, tagsFileDir, tagsFileName string) string
- func CleanKey(key string) string
- func CreateFile(path string)
- func Download(url string, filename string, timeout int64, sheet string, checkCSV bool) (err error)
- func DownloadURL(cell string, sheet string) string
- func GetAbsoluteFilePath(relFilePath string, sheet string) (result string, err error)
- func MkDirIfNotExists(path string) error
- func OpenCSVFile(csvFilePath string) ([][]string, error)
- type CleanTranslation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadURL ¶
DownloadURL Download the file in the url
func GetAbsoluteFilePath ¶
GetAbsoluteFilePath get abs path
func MkDirIfNotExists ¶
MkDirIfNotExists create direcory if not exists
func OpenCSVFile ¶
OpenCSVFile open csv file
Types ¶
type CleanTranslation ¶
CleanTranslation struct used to clean hugo translations files
func GetCleanTranslationTags ¶
func GetCleanTranslationTags(fileDir, fileName string) ([]*CleanTranslation, error)
GetCleanTranslationTags get clean translation tags
Click to show internal directories.
Click to hide internal directories.