mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
Move isFastStart outside
This commit is contained in:
parent
ccee8ac77a
commit
96a036201d
2
main.go
2
main.go
@ -36,6 +36,7 @@ import (
|
||||
|
||||
var json = jsoniter.ConfigCompatibleWithStandardLibrary
|
||||
var conf *global.JSONConfig
|
||||
var isFastStart = false
|
||||
|
||||
func init() {
|
||||
if global.PathExists("cqhttp.json") {
|
||||
@ -115,7 +116,6 @@ func init() {
|
||||
func main() {
|
||||
|
||||
var byteKey []byte
|
||||
var isFastStart = false
|
||||
arg := os.Args
|
||||
if len(arg) > 1 {
|
||||
for i := range arg {
|
||||
|
Loading…
x
Reference in New Issue
Block a user