wdvxdr
76295b0e89
dep: update MiraiGo
2022-03-17 16:59:47 +08:00
wdvxdr1123
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
github-actions[bot]
0145879f37
ci(chore): Fix stylings
2022-02-09 07:02:21 +00:00
wdvxdr
e1937e9f15
docs: document default env placeholder
2022-02-09 15:01:38 +08:00
wdvxdr
8eefcc8cc8
config: impl env placeholder with default value
...
Fixes #1358
2022-02-09 13:41:19 +08:00
wdvxdr
82b0c69b1b
config: remove old env config
...
Fixes #1219
2022-02-06 22:19:30 +08:00
Mrs4s
a5dd0bfa1f
feat: disable temp session by default
2022-01-24 19:52:13 +08:00
wdvxdr
b98f75ccab
style: run gofumpt
2021-12-29 14:04:51 +08:00
秋葉あんず
49aedc99fe
fix(expand env): change os.ExpandEnv to regex ( #1231 )
...
* fix(expand env): change os.ExpandEnv to regex
* fix: MustCompile
* fix: regex
2021-12-09 17:53:40 +08:00
源文雨
26a7a1f0b6
feat(config): separate config & server ( #1212 )
...
* feat(server): add RegisterCustom
* feat(config): seprate config & server
* fix: make lint happy
* fix: make lint happy
* fix: ParseEnv nil pointer error
* typo(config): generateConfig hint
* fix(config): panic on range overflow
2021-12-07 22:39:30 +08:00
wdvxdr
aa2caac3f7
feat: support expand env
2021-12-06 22:31:02 +08:00
openwrt2223
72fec47622
Update modules/config/config.go
...
https://github.com/Mrs4s/go-cqhttp/issues/1169#issuecomment-970192648
2021-11-19 00:44:27 +08:00
Akiba
4de5efc813
fmt
2021-11-15 11:13:08 +08:00
Akiba
77580ae8ef
feat(log): add switch for colorful logging
2021-11-15 02:04:04 +08:00
wdvxdr
7c4be95c19
feat: store cache with disk btree backend
2021-09-28 22:23:33 +08:00
wdvxdr
d464236573
fix: make linter happy
...
add db into skip-dirs
2021-09-28 15:46:14 +08:00
wdvxdr
c4d34fa14f
Merge branch 'dev' into database-support
...
# Conflicts:
# coolq/bot.go
# modules/config/config.go
2021-09-26 19:49:48 +08:00
wdvxdr
1337d3f1f3
style: move internal/config to modules/config
...
config should not be internal, maybe some module need it.
2021-09-26 19:41:03 +08:00