-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
package args | ||
|
||
import ( | ||
"embed" | ||
) | ||
|
||
// 调试模式 | ||
|
||
var Debug bool | ||
|
||
// 嵌入目录 | ||
|
||
var Efs *embed.FS | ||
|
||
// 机器人参数 | ||
|
||
var Bot = struct { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package args | ||
|
||
import ( | ||
"embed" | ||
) | ||
|
||
// 调试模式 | ||
|
||
var Debug bool | ||
|
||
// 嵌入目录 | ||
|
||
var Efs *embed.FS | ||
|
||
// 版本信息 | ||
|
||
const Version = "0.10.0" | ||
const BuildVersion = "240106" | ||
|
||
// 应用描述 | ||
|
||
const AppName = "TDP Wrest" | ||
const AppSummary = "智能聊天机器人" | ||
|
||
// 输出说明 | ||
func init() { | ||
|
||
println(AppName, AppSummary) | ||
println("Version:", Version, "build", BuildVersion) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters