diff --git a/console/console_ansi.go b/abineundo/console_ansi.go similarity index 74% rename from console/console_ansi.go rename to abineundo/console_ansi.go index f171297e..9b7d4445 100644 --- a/console/console_ansi.go +++ b/abineundo/console_ansi.go @@ -1,7 +1,6 @@ //go:build !windows -// Package console sets console's behavior on init -package console +package abineundo import ( "fmt" diff --git a/console/console_windows.go b/abineundo/console_windows.go similarity index 98% rename from console/console_windows.go rename to abineundo/console_windows.go index 4b93161e..872f41c1 100644 --- a/console/console_windows.go +++ b/abineundo/console_windows.go @@ -1,5 +1,4 @@ -// Package console sets console's behavior on init -package console +package abineundo import ( "bytes" diff --git a/abineundo/main.go b/abineundo/main.go index 217037e9..449d0202 100644 --- a/abineundo/main.go +++ b/abineundo/main.go @@ -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: // diff --git a/main.go b/main.go index 6e41ab2d..8770d1a0 100644 --- a/main.go +++ b/main.go @@ -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 // ---------以下插件均可通过前面加 // 注释,注释后停用并不加载插件--------- //