added build, and added side menu to webserver

This commit is contained in:
arnaucode
2018-04-15 14:20:15 +02:00
parent 3e0ef09e55
commit 9bd5a48bcc
23 changed files with 266 additions and 122 deletions

View File

@@ -15,6 +15,11 @@
"link": "http://board.net/p/pad3",
"dir": "Group2",
"title": "Pad3"
},
{
"link": "http://board.net/p/loremipsum",
"dir": "SubArea1",
"title": "loremipsum"
}
]
}

Binary file not shown.

View File

@@ -58,7 +58,7 @@ func main() {
fmt.Println(" link: " + pad.Link)
fmt.Println(" dir: " + pad.Dir)
fmt.Println(" title: " + pad.Title)
ipfsHash, err := repo.StorePad(pad.Link, pad.Dir, pad.Title)
ipfsHash, err := repo.StorePad(pad.Link, pad.Dir, pad.Title, false)
check(err)
fmt.Println(" ipfs hash: " + ipfsHash)
}