Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

Commit cc2047a

Browse files
committed
Fix compilation of api/service/{client,host}.go examples
1 parent 2e4ffef commit cc2047a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/api/service/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77

88
core "github.com/ipfs/go-ipfs/core"
99
corenet "github.com/ipfs/go-ipfs/core/corenet"
10-
peer "github.com/ipfs/go-ipfs/p2p/peer"
10+
peer "gx/ipfs/QmWUswjn261LSyVxWAEpMVtPdy8zmKBJJfBpG3Qdpa8ZsE/go-libp2p-peer"
1111
fsrepo "github.com/ipfs/go-ipfs/repo/fsrepo"
1212

13-
"golang.org/x/net/context"
13+
"context"
1414
)
1515

1616
func main() {

examples/api/service/host.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
corenet "github.com/ipfs/go-ipfs/core/corenet"
88
fsrepo "github.com/ipfs/go-ipfs/repo/fsrepo"
99

10-
"golang.org/x/net/context"
10+
"context"
1111
)
1212

1313
func main() {

0 commit comments

Comments
 (0)