Skip to content

Commit 37dfad9

Browse files
committed
optimize: move console into ab
1 parent d84a4a5 commit 37dfad9

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//go:build !windows
22

3-
// Package console sets console's behavior on init
4-
package console
3+
package abineundo
54

65
import (
76
"fmt"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Package console sets console's behavior on init
2-
package console
1+
package abineundo
32

43
import (
54
"bytes"

abineundo/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
// Place this package at the very top of top-level main.go so its init (present
1111
// or future) executes before other plugin packages, filling in a predictable
12-
// plugin priority.
12+
// plugin priority and setup console properties.
1313
//
1414
// Typical usage:
1515
//

main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ import (
1414
"strings"
1515
"time"
1616

17-
_ "github.com/FloatTech/ZeroBot-Plugin/abineundo" // 设置插件优先级
18-
_ "github.com/FloatTech/ZeroBot-Plugin/console" // 更改控制台属性
17+
_ "github.com/FloatTech/ZeroBot-Plugin/abineundo" // 设置插件优先级&更改控制台属性
1918
"github.com/FloatTech/ZeroBot-Plugin/kanban" // 打印 banner
2019

2120
// ---------以下插件均可通过前面加 // 注释,注释后停用并不加载插件--------- //

0 commit comments

Comments
 (0)