Utils

package
v1.0.0-beta.23 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

* @Author: NyanCatda * @Date: 2021-11-03 15:59:39 * @LastEditTime: 2022-01-24 19:33:48 * @LastEditors: NyanCatda * @Description: 文件处理工具 * @FilePath: \ShionBot\src\Utils\FilesAndDirs.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilesAndDirs

func GetFilesAndDirs(dirPth string) (files []string, dirs []string, err error)

获取指定目录下的所有文件和目录

func LogWrite

func LogWrite(LogText string)

写入Log进文件

func StringVariable

func StringVariable(ReturnText string, text []string) string

替换字符串中的变量位置

Types

This section is empty.

Directories

Path Synopsis
* @Author: NyanCatda * @Date: 2021-11-02 20:10:28 * @LastEditTime: 2022-01-24 19:52:03 * @LastEditors: NyanCatda * @Description: 语言文件处理 * @FilePath: \ShionBot\src\Utils\Language\Language.go
* @Author: NyanCatda * @Date: 2021-11-02 20:10:28 * @LastEditTime: 2022-01-24 19:52:03 * @LastEditors: NyanCatda * @Description: 语言文件处理 * @FilePath: \ShionBot\src\Utils\Language\Language.go
* @Author: NyanCatda * @Date: 2022-01-24 19:35:15 * @LastEditTime: 2022-03-07 19:48:36 * @LastEditors: NyanCatda * @Description: 配置文件结构体 * @FilePath: \ShionBot\Utils\ReadConfig\ConfigStruct.go * @Author: NyanCatda * @Date: 2021-10-03 04:14:10 * @LastEditTime: 2022-03-07 19:50:26 * @LastEditors: NyanCatda * @Description: 读取配置文件 * @FilePath: \ShionBot\Utils\ReadConfig\ReadConfig.go
* @Author: NyanCatda * @Date: 2022-01-24 19:35:15 * @LastEditTime: 2022-03-07 19:48:36 * @LastEditors: NyanCatda * @Description: 配置文件结构体 * @FilePath: \ShionBot\Utils\ReadConfig\ConfigStruct.go * @Author: NyanCatda * @Date: 2021-10-03 04:14:10 * @LastEditTime: 2022-03-07 19:50:26 * @LastEditors: NyanCatda * @Description: 读取配置文件 * @FilePath: \ShionBot\Utils\ReadConfig\ReadConfig.go
* @Author: NyanCatda * @Date: 2022-01-24 21:37:39 * @LastEditTime: 2022-01-24 21:42:09 * @LastEditors: NyanCatda * @Description: 数据库模型 * @FilePath: \ShionBot\src\Utils\SQLDB\Models.go
* @Author: NyanCatda * @Date: 2022-01-24 21:37:39 * @LastEditTime: 2022-01-24 21:42:09 * @LastEditors: NyanCatda * @Description: 数据库模型 * @FilePath: \ShionBot\src\Utils\SQLDB\Models.go

Jump to

Keyboard shortcuts

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