serve template & static files
This commit is contained in:
parent
29b860470b
commit
7c9f182ba2
2 changed files with 31 additions and 5 deletions
6
main.go
6
main.go
|
|
@ -1,18 +1,20 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/nkanaev/yarr/storage"
|
||||
//"github.com/nkanaev/yarr/storage"
|
||||
//"github.com/nkanaev/yarr/worker"
|
||||
"github.com/nkanaev/yarr/server"
|
||||
"log"
|
||||
//"log"
|
||||
)
|
||||
|
||||
func main() {
|
||||
/*
|
||||
store, err := storage.New()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
log.Print(store)
|
||||
*/
|
||||
/*
|
||||
folder := store.CreateFolder("foo")
|
||||
store.RenameFolder(folder.Id, "bar")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue