Files
trbot/go.mod
Hubert Chen 314cdc0772 add github.com/reugn/go-quartz as task scheduler
task:
    new package that wraps `github.com/reugn/go-quartz` for managing tasks
    encapsulates `zerolog.Logger` to implement the `github.com/reugn/go-quartz/logger` interface
yaml:
    change auto save goroutine as a task
database:
    add a save database task without trigger
internal_plugin:
    add two task without trigger to save and reload plugins databases
2025-11-10 02:42:12 +08:00

39 lines
1.0 KiB
Modula-2

module trbot
go 1.23.0
toolchain go1.23.5
require (
github.com/dustin/go-humanize v1.0.1
github.com/go-telegram/bot v1.17.0
github.com/joho/godotenv v1.5.1
github.com/pkg/errors v0.9.1
github.com/redis/go-redis/v9 v9.7.1
github.com/reugn/go-quartz v0.15.2
github.com/rs/zerolog v1.34.0
gopkg.in/yaml.v3 v3.0.1
)
// plugin packages
require (
github.com/meilisearch/meilisearch-go v0.32.0
github.com/multiplay/go-ts3 v1.2.0
golang.org/x/image v0.23.0
)
// indirect packages
require (
github.com/andybalholm/brotli v1.1.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/mailru/easyjson v0.9.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
golang.org/x/crypto v0.37.0 // indirect
golang.org/x/sys v0.32.0 // indirect
)