Results 8 issues of youmisun

panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1287e94] goroutine 52708 [running]: github.com/mochi-co/mqtt/server/internal/clients.(*Client).WritePacket(0xc000e63440, 0x0, 0x103, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,...

bug
needs investigation

p.Raw("SELECT * FROM user, post WHERE user.id IN ... and post.uid=user.id order by post.time", ids) 其中ids是函数参数的一个slice。不确定其中有多少个元素。IN后面应该怎么写?user和post表是没有使用外键进行关联的。

db connection is not close when the request was handled.

**环境** windows wsl Ubuntu 20.04.6 LTS egoctl version: 1.0.6 go version: 1.20.1 **错误信息** ``` panic: init max procs goroutine 1 [running]: go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc00021e480, 0xc0003c6300, 0x2, 0x2) /home/runner/go/pkg/mod/go.uber.org/[email protected]/zapcore/entry.go:234 +0x58d go.uber.org/zap.(*Logger).Panic(0xc000280ba0, 0x134bd3b, 0xe,...

mac os系统没有/etc/init.d目录,应该如何配置?