basic storage package
This commit is contained in:
parent
7a76027961
commit
6621f49770
7 changed files with 140 additions and 0 deletions
18
main.go
Normal file
18
main.go
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/nkanaev/yarr/storage"
|
||||
"log"
|
||||
)
|
||||
|
||||
func main() {
|
||||
storage, err := storage.New()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
/*
|
||||
folder := storage.CreateFolder("foo")
|
||||
storage.RenameFolder(folder.Id, "bar")
|
||||
storage.ToggleFolderExpanded(folder.Id, false)
|
||||
*/
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue