Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Examples? #71

Open
jbenet opened this issue Feb 2, 2018 · 4 comments
Open

Examples? #71

jbenet opened this issue Feb 2, 2018 · 4 comments

Comments

@jbenet
Copy link
Member

jbenet commented Feb 2, 2018

Are there usage examples? dont see any in the repo

@jcaesar
Copy link

jcaesar commented May 16, 2018

Some examples would indeed be greatly appreciated, as everything I try just gives me a SIGSEGV…

E.g.:

package main

import "github.com/ipfs/go-ipfs-api"

func main() {
	shell.NewLocalShell().FileList("/ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv")
}

@bonedaddy
Copy link
Contributor

bonedaddy commented May 18, 2018

the following package can be used as examples on how to use this library (there are also accompanying tests) however it uses a fork of go-ipfs-api but the examples none the less should be usable with the non fork (aka, the repository hosting this issue)

https://github.com/RTradeLtd/rtfs/blob/616e741a37e440d760448331b8fc93fb87498a19/rtfs.go#L158

@magik6k
Copy link
Member

magik6k commented Jan 20, 2019

https://github.com/OpenBazaar/openbazaar-go
https://github.com/textileio/textile-go

Those two projects use go-ipfs directly, and don't appear to use this repo

@moon004
Copy link

moon004 commented Jan 21, 2019

Owh @magik6k , my bad. I'll remove it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants