mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 19:37:46 +08:00
18 lines
191 B
Go
18 lines
191 B
Go
package config
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestConfig(t *testing.T) {
|
|
|
|
cfg, err := Load(".ipfsconfig")
|
|
if err != nil {
|
|
t.Error(err)
|
|
return
|
|
}
|
|
|
|
fmt.Printf(cfg.Datastore.Path)
|
|
}
|