发布时间: 2023-08-14 00:41:00
如题
func 后面的第一个括号: (u *Users) 表示,该函数的caller必须是Users
使用方法为:
var user User
...
user.GetCalculationResults(....)