Skip to content

Commit

Permalink
chore: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
denopink committed Jan 19, 2024
1 parent c5021ab commit 69bf5b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions factory_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package touchstone

import (
"fmt"
"io/ioutil"
"io"
"log"

"github.com/prometheus/client_golang/prometheus"
Expand All @@ -16,7 +16,7 @@ import (
func ExampleFactory() {
var f *Factory
_ = fx.New(
fx.Logger(log.New(ioutil.Discard, "", 0)),
fx.Logger(log.New(io.Discard, "", 0)),
Provide(),
fx.Populate(&f),
)
Expand Down
4 changes: 2 additions & 2 deletions fx_examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package touchstone

import (
"fmt"
"io/ioutil"
"io"
"log"

"github.com/prometheus/client_golang/prometheus"
Expand All @@ -21,7 +21,7 @@ func Example() {
}

_ = fx.New(
fx.Logger(log.New(ioutil.Discard, "", 0)),
fx.Logger(log.New(io.Discard, "", 0)),
fx.Supply(
// this Config instance can come from anywhere
Config{
Expand Down

0 comments on commit 69bf5b8

Please sign in to comment.