chore(storage): rename `InfoErrorer` to `Infoer` (bad name)
@@ -10,18 +10,18 @@ import (
type Storage struct {
mergedServers models.AllServers
hardcodedServers models.AllServers
- logger InfoErrorer
+ logger Infoer
filepath string
}
-type InfoErrorer interface {
+type Infoer interface {
Info(s string)
}
// New creates a new storage and reads the servers from the
// embedded servers file and the file on disk.
// Passing an empty filepath disables writing servers to a file.
-func New(logger InfoErrorer, filepath string) (storage *Storage, err error) {
+func New(logger Infoer, filepath string) (storage *Storage, err error) {
// error returned covered by unit test
harcodedServers, _ := parseHardcodedServers()
