GoneGo1ng
GoneGo1ng
下面这个例子,我使用 go vet 命令,并没有提示异常,这个规范是不是要自定义,Uber 有把 vettool 开源出来吗? 使用字段名初始化结构体 初始化结构体时,应该指定字段名称。现在由 go vet 强制执行。 BadGood ```go k := User{"John", "Doe", true} ``` ```go k := User{ FirstName: "John", LastName: "Doe", Admin: true,...
When I set the "to_client" parameter, the client will receive two duplicate messages. Why is it designed like this? ```go // HandleMessages send messages to a specific connected client func...
### Environment - VerneMQ Version: 1.12.4 - OS: Alibaba Cloud Linux 3 (Soaring Falcon) - Erlang/OTP version (if building from source): - Cluster size/standalone: 3 nodes In the process of...
I have some trouble. Sometimes the timer will stop executing inexplicably, and it is difficult to reproduce. I think it may be collected. If 'timer' is collected, have any logs...