Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jun 7, 2023
1 parent 091d86a commit cacef8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ipns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"time"

"github.com/ipfs/boxo/ipns"
"github.com/ipfs/boxo/path"
ic "github.com/libp2p/go-libp2p/core/crypto"
)

Expand All @@ -29,7 +30,7 @@ func main() {
}

// Define the path this record will point to.
path := []byte("/ipfs/bafkqac3jobxhgidsn5rww4yk")
path := path.FromString("/ipfs/bafkqac3jobxhgidsn5rww4yk")

// Until when the record is valid.
eol := time.Now().Add(time.Hour)
Expand Down

0 comments on commit cacef8e

Please sign in to comment.