package
0.11.2-rc1
Repository: https://github.com/wetor/animego.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CreateMutiDir 调用os.MkdirAll递归创建文件夹.
FileSize 获取文件大小,文件不存返回-1.
FindScript @Description: 判断插件是否存在 @Description: 如ext='.py',插件名可以忽略'.py'后缀;插件名也可以使用上层文件夹名,会自动加载文件夹内部的 'main.py' @Description: 如设置为 'plugin/test',会依次尝试加载 'plugin/test/main.py', 'plugin/test.py' @param file string @param ext string @return string.
No description provided by the author
No description provided by the author
IsDir 判断所给路径是否为文件夹.
IsExist 判断所给路径文件/文件夹是否存在(返回true是存在).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RemoveNameSuffix @Description: 删除番剧名的一些后缀,使得themoviedb能够正常搜索到 @param name string 番剧名 @param fun Action 执行操作。 返回obj, nil表示成功; 返回nil, nil进行下一步;步骤执行完则返回nil, err 返回nil, err则直接结束; @return any fun返回的obj.
No description provided by the author
No description provided by the author
SimilarText @Description: 字符串相似度计算 @param first string @param second string @param percent *float64 @return int.
Sleep @Description: 信号计时器,每秒检测一次信号,避免长时间等待无法接收信号 @Description: 收到exit信号后,会返回true;倒计时结束,会返回false @param second int @param exit chan bool @return bool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author