65 lines
1.2 KiB
Go
65 lines
1.2 KiB
Go
package list
|
|
|
|
import (
|
|
"errors"
|
|
"net/http"
|
|
)
|
|
|
|
type List struct {
|
|
ID string `json:"name"`
|
|
UUID string `json:"id"`
|
|
Sort int `json:"sort"`
|
|
Published int `json:"published"`
|
|
ShowCompl int `json:"showCompl"`
|
|
ShowNotes int `json:"showNotes"`
|
|
Hidden int `json:"hidden"`
|
|
}
|
|
|
|
func New(r *http.Request) (*List, error) {
|
|
return &List{}, errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) loadLists() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) changeOrder() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) addList() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) renameList() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) deleteList() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) setSort() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) publishList() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) changeListOrder() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) clearCompletedInList() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) setShowNotesInList() error {
|
|
return errors.New("not impl")
|
|
}
|
|
|
|
func (l *List) setHideList() error {
|
|
return errors.New("not impl")
|
|
}
|