mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-01-18 14:20:30 +00:00
optimize: move console into ab
Some checks failed
自动更新 nix 依赖 / gomod2nix update (push) Has been cancelled
最新版 / Build binary CI (386, linux) (push) Has been cancelled
最新版 / Build binary CI (386, windows) (push) Has been cancelled
最新版 / Build binary CI (amd64, linux) (push) Has been cancelled
最新版 / Build binary CI (amd64, windows) (push) Has been cancelled
最新版 / Build binary CI (arm, linux) (push) Has been cancelled
最新版 / Build binary CI (arm64, linux) (push) Has been cancelled
PushLint / lint (push) Has been cancelled
Some checks failed
自动更新 nix 依赖 / gomod2nix update (push) Has been cancelled
最新版 / Build binary CI (386, linux) (push) Has been cancelled
最新版 / Build binary CI (386, windows) (push) Has been cancelled
最新版 / Build binary CI (amd64, linux) (push) Has been cancelled
最新版 / Build binary CI (amd64, windows) (push) Has been cancelled
最新版 / Build binary CI (arm, linux) (push) Has been cancelled
最新版 / Build binary CI (arm64, linux) (push) Has been cancelled
PushLint / lint (push) Has been cancelled
This commit is contained in:
parent
d84a4a57a8
commit
37dfad9a29
@ -1,7 +1,6 @@
|
|||||||
//go:build !windows
|
//go:build !windows
|
||||||
|
|
||||||
// Package console sets console's behavior on init
|
package abineundo
|
||||||
package console
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
@ -1,5 +1,4 @@
|
|||||||
// Package console sets console's behavior on init
|
package abineundo
|
||||||
package console
|
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@ -9,7 +9,7 @@
|
|||||||
//
|
//
|
||||||
// Place this package at the very top of top-level main.go so its init (present
|
// Place this package at the very top of top-level main.go so its init (present
|
||||||
// or future) executes before other plugin packages, filling in a predictable
|
// or future) executes before other plugin packages, filling in a predictable
|
||||||
// plugin priority.
|
// plugin priority and setup console properties.
|
||||||
//
|
//
|
||||||
// Typical usage:
|
// Typical usage:
|
||||||
//
|
//
|
||||||
|
|||||||
3
main.go
3
main.go
@ -14,8 +14,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
_ "github.com/FloatTech/ZeroBot-Plugin/abineundo" // 设置插件优先级
|
_ "github.com/FloatTech/ZeroBot-Plugin/abineundo" // 设置插件优先级&更改控制台属性
|
||||||
_ "github.com/FloatTech/ZeroBot-Plugin/console" // 更改控制台属性
|
|
||||||
"github.com/FloatTech/ZeroBot-Plugin/kanban" // 打印 banner
|
"github.com/FloatTech/ZeroBot-Plugin/kanban" // 打印 banner
|
||||||
|
|
||||||
// ---------以下插件均可通过前面加 // 注释,注释后停用并不加载插件--------- //
|
// ---------以下插件均可通过前面加 // 注释,注释后停用并不加载插件--------- //
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user