1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-08-07 18:41:49 +00:00

11 Commits

Author SHA1 Message Date
20c62111f5 all: run gofmt -w -r 'interface{} -> any' 2023-01-26 23:03:08 +08:00
18a091145a style: go fmt ./...
also delete mkrw.go, we can maintain this file by hand.
2022-04-14 21:53:00 +08:00
d522378315 all: optimize
detected by go-perfguard
2022-03-27 23:01:47 +08:00
2a66896d43 coolq: new package cqcode
move cqcode escape&unescape to new package
2022-02-16 01:14:35 +08:00
9054d4cee8 db/leveldb: impl index read/write drop encoding/gob (#1370)
Two benefit below:
 * shrink go-cqhttp binary size about 200KiB
 * shrink database file from 2.8M to 1.56M compared with v2 database

Also provide a tool to migrate v2 database:
https://github.com/RomiChan/gocq-leveldb-migrate
2022-02-15 22:24:27 +08:00
baecc2f8e6 dep: update MiraiGo
For #1368
2022-02-12 16:18:54 +08:00
b70db344a6 .github: update golint.yml 2022-02-08 21:53:43 +08:00
57d1be0ee5 db/leveldb: register message.RedBagMessageType
Fixes #1323
2022-02-06 18:39:22 +08:00
57b2ce4c04 feat: database support for guild channel message 2021-12-11 23:16:00 +08:00
d8445c2d8d fix typo 2021-11-20 22:52:23 +08:00
5e70c8115e feat: modular database
build with leveldb on default
2021-10-17 17:12:24 +08:00