Skip to content

Commit

Permalink
Fixes to conform with golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pivaldi committed Oct 28, 2023
1 parent 17f8b1d commit 3a0cc73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nullable.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (n *Of[T]) scanInt(v any) error {
return nil
}

return fmt.Errorf("Type %T is not supported", *new(T))
return fmt.Errorf("type %T is not supported", *new(T))
}

func (n *Of[T]) scanFloat(v any) error {
Expand Down
2 changes: 1 addition & 1 deletion of.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (n *Of[T]) Value() (driver.Value, error) {
return string(b), nil
}

return nil, fmt.Errorf("Type %T is not supported for value %v", *n.Val, *n.Val)
return nil, fmt.Errorf("type %T is not supported for value %v", *n.Val, *n.Val)
}

// Scan implements the sql.Scanner interface.
Expand Down

0 comments on commit 3a0cc73

Please sign in to comment.