feed/folder list endpoints

This commit is contained in:
Nazar Kanaev
2020-07-01 20:15:12 +01:00
parent 866d59fe86
commit e7bfc3b0a3
5 changed files with 41 additions and 18 deletions

View File

@@ -5,9 +5,9 @@ import (
)
type Folder struct {
Id int64
Title string
IsExpanded bool
Id int64 `json:"id"`
Title string `json:"title"`
IsExpanded bool `json:"is_expanded"`
}
func (s *Storage) CreateFolder(title string) *Folder {