vorlif/xspreak

File position for error

Opened this issue · 0 comments

Summary

"Template keyword is not passed a string: .Status"

It would be very helpful to know where this occurence is. Verbose mode does not help.

log.Warnf("Template keyword is not passed a string: %s", args[keyword.SingularPos])

And other occurences in the same file.

Expected behavior

"foo/bar.go:12: Template keyword is not passed a string: .Status"