You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -254,6 +282,14 @@ func (v *visitor) processFuncDecl(funcDecl *ast.FuncDecl) {
254
282
skip=true
255
283
}
256
284
}
285
+
ifattr, ok:=args.Keyword["skipEmptyTags"]; ok {
286
+
ifb, err:=strconv.ParseBool(attr); err!=nil {
287
+
v.errs=append(v.errs, fmt.Errorf("invalid skipEmptyTags value: %q at %s. Should be boolean value.", attr, fmt.Sprintf("%s.%s", v.packageName, v.functionName)))
0 commit comments