-
GoLand 提示 Receiver has generic name
错误信息 The name of a method's receiver should be a reflection of its identity; of
-
GoLand defer 提示 Unhandled error 解决方法
代码处理 defer func() { err := db.Close() if err != nil { fmt.Printl