Updated to latest golint

This commit is contained in:
Mike Farah
2024-01-11 13:17:34 +11:00
parent 8af3e46fcb
commit 010750daf6
60 changed files with 95 additions and 94 deletions
+2 -2
View File
@@ -72,11 +72,11 @@ func NewLuaEncoder(prefs LuaPreferences) Encoder {
return &luaEncoder{unescape.Replace(prefs.DocPrefix), unescape.Replace(prefs.DocSuffix), 0, "\t", prefs.UnquotedKeys, prefs.Globals, escape}
}
func (le *luaEncoder) PrintDocumentSeparator(writer io.Writer) error {
func (le *luaEncoder) PrintDocumentSeparator(_ io.Writer) error {
return nil
}
func (le *luaEncoder) PrintLeadingContent(writer io.Writer, content string) error {
func (le *luaEncoder) PrintLeadingContent(_ io.Writer, _ string) error {
return nil
}