mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-23 05:35:58 +08:00
gofmt
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"os"
|
||||
"os/user"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type Identity struct {
|
||||
@ -20,7 +20,6 @@ type Config struct {
|
||||
Datastore Datastore
|
||||
}
|
||||
|
||||
|
||||
var defaultConfigFilePath = "~/.go-ipfs/config"
|
||||
var defaultConfigFile = `{
|
||||
"identity": {},
|
||||
|
@ -1,10 +1,10 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path"
|
||||
"io/ioutil"
|
||||
"encoding/json"
|
||||
)
|
||||
|
||||
func ReadFile(filename string) ([]byte, error) {
|
||||
|
Reference in New Issue
Block a user