one io.EOF left
This commit is contained in:
@@ -3,7 +3,6 @@ package src
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"io"
|
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -26,7 +25,7 @@ func NewConfig(ctx context.Context) (Config, error) {
|
|||||||
}
|
}
|
||||||
config.db = db
|
config.db = db
|
||||||
|
|
||||||
return config, io.EOF
|
return config, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func newConfig() (Config, error) {
|
func newConfig() (Config, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user