Skip to content

Instantly share code, notes, and snippets.

@mittenchops
mittenchops / add_pin_unpin.go
Created June 11, 2018 06:07 — forked from leerspace/add_pin_unpin.go
example of adding, pinning, and unpinning using IPFS as library
package main
import (
"context"
"log"
"net"
core "github.com/ipfs/go-ipfs/core"
corerepo "github.com/ipfs/go-ipfs/core/corerepo"
coreunix "github.com/ipfs/go-ipfs/core/coreunix"