Skip to content

Commit

Permalink
Fix reviewdog
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed May 11, 2024
1 parent 416f0f8 commit 346bacf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions csv_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// Package csv returns which columns have syntax errors on a per-line basis when reading CSV.
// It also has the capability to convert the character encoding to UTF-8 if the CSV character
// encoding is not UTF-8.
package csv

import (
Expand Down
2 changes: 1 addition & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (c *CSV) parseStructTag(structSlicePointer any) error {
if err != nil {
return err
}
csv.ruleSet = ruleSet
c.ruleSet = ruleSet
default:
return fmt.Errorf("csv: v is not a slice or array, got %v", elem.Kind())
}
Expand Down

0 comments on commit 346bacf

Please sign in to comment.