Submit a task

This commit is contained in:
Bel LaPointe
2019-11-13 13:17:56 -07:00
parent ee77d9d3b7
commit cf1fd1dfed
13 changed files with 259 additions and 49 deletions

View File

@@ -1,11 +1,19 @@
package ajax
package list
import (
"errors"
"net/http"
)
type List struct{}
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")