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

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 //go:build !windows
// Package console sets console's behavior on init package abineundo
package console
import ( import (
"fmt" "fmt"

View File

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

View File

@ -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:
// //

View File

@ -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
// ---------以下插件均可通过前面加 // 注释,注释后停用并不加载插件--------- // // ---------以下插件均可通过前面加 // 注释,注释后停用并不加载插件--------- //