Skip to content

Commit

Permalink
remove io/ioutil
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Apr 5, 2024
1 parent d981224 commit 12eeda8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"crypto/x509"
"encoding/json"
"fmt"
"io/ioutil"
"os"
"time"

"github.com/kayac/Gunfish/fcmv1"
Expand Down Expand Up @@ -155,12 +155,8 @@ func (c *Config) validateConfigProvider() error {
return nil
}

func (c *Config) validateConfigFCM() error {
return nil
}

func (c *Config) validateConfigFCMv1() error {
b, err := ioutil.ReadFile(c.FCMv1.GoogleApplicationCredentials)
b, err := os.ReadFile(c.FCMv1.GoogleApplicationCredentials)
if err != nil {
return err
}
Expand Down

0 comments on commit 12eeda8

Please sign in to comment.