Submit a task
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user