mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-08 21:15:56 +08:00
style: make linter happy
This commit is contained in:
parent
2cf136d031
commit
110982651d
@ -3,6 +3,7 @@ package base
|
|||||||
|
|
||||||
import "github.com/Mrs4s/go-cqhttp/global/config"
|
import "github.com/Mrs4s/go-cqhttp/global/config"
|
||||||
|
|
||||||
|
// flags
|
||||||
var (
|
var (
|
||||||
Debug bool // 是否开启 debug 模式
|
Debug bool // 是否开启 debug 模式
|
||||||
RemoveReplyAt bool // 是否删除reply后的at
|
RemoveReplyAt bool // 是否删除reply后的at
|
||||||
@ -17,6 +18,7 @@ var (
|
|||||||
AccountToken []byte // 存储AccountToken供登录使用
|
AccountToken []byte // 存储AccountToken供登录使用
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Parse parses flags from config file
|
||||||
func Parse() {
|
func Parse() {
|
||||||
conf := config.Get()
|
conf := config.Get()
|
||||||
{ // bool config
|
{ // bool config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user