style: 合入后修 gofmt/govet 与 RegistrationView 类型检查

This commit is contained in:
Nixevol
2026-09-30 16:34:33 +08:00
parent 8f2ebc7d21
commit 0c9b459fb1
18 changed files with 74 additions and 79 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ func TestMQTT5ConnectFakeBroker(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if err := mc.Send(pkt); err != nil {
t.Fatal(err)
if sendErr := mc.Send(pkt); sendErr != nil {
t.Fatal(sendErr)
}
ack, err := mc.Recv()
if err != nil {