optimize: move console into ab
Some checks are pending
自动更新 nix 依赖 / gomod2nix update (push) Waiting to run
最新版 / Build binary CI (386, linux) (push) Waiting to run
最新版 / Build binary CI (386, windows) (push) Waiting to run
最新版 / Build binary CI (amd64, linux) (push) Waiting to run
最新版 / Build binary CI (amd64, windows) (push) Waiting to run
最新版 / Build binary CI (arm, linux) (push) Waiting to run
最新版 / Build binary CI (arm64, linux) (push) Waiting to run
PushLint / lint (push) Waiting to run

This commit is contained in:
源文雨 2026-01-17 21:33:39 +08:00
parent d84a4a57a8
commit 37dfad9a29
4 changed files with 4 additions and 7 deletions

View File

@ -1,7 +1,6 @@
//go:build !windows
// Package console sets console's behavior on init
package console
package abineundo
import (
"fmt"

View File

@ -1,5 +1,4 @@
// Package console sets console's behavior on init
package console
package abineundo
import (
"bytes"

View File

@ -9,7 +9,7 @@
//
// 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
// plugin priority.
// plugin priority and setup console properties.
//
// Typical usage:
//

View File

@ -14,8 +14,7 @@ import (
"strings"
"time"
_ "github.com/FloatTech/ZeroBot-Plugin/abineundo" // 设置插件优先级
_ "github.com/FloatTech/ZeroBot-Plugin/console" // 更改控制台属性
_ "github.com/FloatTech/ZeroBot-Plugin/abineundo" // 设置插件优先级&更改控制台属性
"github.com/FloatTech/ZeroBot-Plugin/kanban" // 打印 banner
// ---------以下插件均可通过前面加 // 注释,注释后停用并不加载插件--------- //