Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Aug 12, 2024
1 parent 229d6dc commit 74bb23b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions style.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,20 @@ func (s Style) Fprintfln(w io.Writer, format string, a ...any) (n int, err error

// Print formats using the default formats for its operands and writes to standard output.
func (s Style) Print(a ...any) {
s.Fprint(Writer, a...)
_, _ = s.Fprint(Writer, a...)
}

// Printf formats according to a format specifier and writes to standard output.
func (s Style) Printf(format string, a ...any) {
s.Fprintf(Writer, format, a...)
_, _ = s.Fprintf(Writer, format, a...)
}

// Println formats using the default formats for its operands and writes to standard output.
func (s Style) Println(a ...any) {
s.Fprintln(Writer, a...)
_, _ = s.Fprintln(Writer, a...)
}

// Printfln formats according to a format specifier and writes to standard output.
func (s Style) Printfln(format string, a ...any) {
s.Fprintfln(Writer, format, a...)
_, _ = s.Fprintfln(Writer, format, a...)
}

0 comments on commit 74bb23b

Please sign in to comment.