mochi-mqtt / server

The fully compliant, embeddable high-performance Go MQTT v5 server for IoT, smarthome, and pubsub
MIT License
1.29k stars 222 forks source link

lua 依赖 #432

Closed shixiawuheng closed 1 month ago

shixiawuheng commented 2 months ago

我在编译项目中发现多出了一个 github.com/yuin/gopher-lua 包 为什么会有一个lua包需求

shixiawuheng commented 2 months ago

并且我在代码中并没有搜索到相关的 lua 应用 是否考虑执行 go mod tidy

werbenhu commented 1 month ago

@shixiawuheng

你可以通过这个命令:go mod graph | grep 'lua' 查看依赖关系,可以看到mochi-mqtt使用了github.com/alicebob/miniredis这个库,而这个库使用了github.com/yuin/gopher-lua

You can use this command: go mod graph | grep 'lua' to check the dependency relationship. You will see that mochi-mqttuses the github.com/alicebob/miniredis, which uses github.com/yuin/gopher-lua