gocmt
gocmt copied to clipboard
golint has update the rule, is there any plan for support it?
now, the method need prefix for golint, is there any plan for support it? such as:
go lint report
gorose/orm.go
Line 81: warning: comment on exported method Orm.Table should be of the form "Table ..." (golint)
orm.go source code
func (dba *Orm) Table(tab interface{}) IOrm {
dba.GetISession().Bind(tab)
//dba.table = dba.GetISession().GetTableName()
return dba
}
this need the comment like // Orm.Table ..., not // Table ...
@fizzday Thanks for reporting. Can you make a small reproducible program?
As your description above, the warning message still indicates that the form is "Table ...".