mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
22 lines
603 B
Go
22 lines
603 B
Go
// Package main
|
|
package main
|
|
|
|
import (
|
|
"github.com/Mrs4s/go-cqhttp/cmd/gocq"
|
|
"github.com/Mrs4s/go-cqhttp/global/terminal"
|
|
|
|
_ "github.com/Mrs4s/go-cqhttp/db/leveldb" // leveldb 数据库支持
|
|
_ "github.com/Mrs4s/go-cqhttp/modules/silk" // silk编码模块
|
|
// 其他模块
|
|
// _ "github.com/Mrs4s/go-cqhttp/db/sqlite3" // sqlite3 数据库支持
|
|
// _ "github.com/Mrs4s/go-cqhttp/db/mongodb" // mongodb 数据库支持
|
|
// _ "github.com/Mrs4s/go-cqhttp/modules/pprof" // pprof 性能分析
|
|
)
|
|
|
|
func main() {
|
|
gocq.InitBase()
|
|
terminal.DisableQuickEdit()
|
|
terminal.EnableVT100()
|
|
gocq.Main()
|
|
}
|