Versions in this module Expand all Collapse all v1 v1.0.0 Oct 26, 2017 Changes in this version + func UseAppengineContext(b *ucon.Bubble) error + type HttpError struct + Code int + Text string + func (err *HttpError) Error() string + func (err *HttpError) ErrorMessage() interface{} + func (err *HttpError) StatusCode() int + type IntIDRequest struct + ID int64 + type ListOpts struct + Limit int + Offset int + type Todo struct + CreatedAt time.Time + Done bool + ID int64 + Text string + UpdatedAt time.Time + func (todo *Todo) Load(ps []datastore.Property) error + func (todo *Todo) Save() ([]datastore.Property, error) + type TodoJSON struct + CreatedAt time.Time + Done bool + ID int64 + Text string + UpdatedAt time.Time + func (orig *TodoJSON) Convert() (*Todo, error) + type TodoJSONBuilder struct + CreatedAt *TodoPropertyInfo + Done *TodoPropertyInfo + ID *TodoPropertyInfo + Text *TodoPropertyInfo + UpdatedAt *TodoPropertyInfo + func NewTodoJSONBuilder() *TodoJSONBuilder + func (b *TodoJSONBuilder) Add(info *TodoPropertyInfo) *TodoJSONBuilder + func (b *TodoJSONBuilder) AddAll() *TodoJSONBuilder + func (b *TodoJSONBuilder) Convert(orig *Todo) (*TodoJSON, error) + func (b *TodoJSONBuilder) ConvertList(orig []*Todo) (TodoJSONList, error) + func (b *TodoJSONBuilder) Marshal(orig *Todo) ([]byte, error) + func (b *TodoJSONBuilder) Remove(info *TodoPropertyInfo) *TodoJSONBuilder + type TodoJSONList []*TodoJSON + func (jsonList TodoJSONList) Convert() ([]*Todo, error) + type TodoPropertyDecoder func(src *TodoJSON, dest *Todo) error + type TodoPropertyEncoder func(src *Todo, dest *TodoJSON) error + type TodoPropertyInfo struct + Decoder TodoPropertyDecoder + Encoder TodoPropertyEncoder + type TodoQueryBuilder struct + CreatedAt *TodoQueryProperty + Done *TodoQueryProperty + ID *TodoQueryProperty + Text *TodoQueryProperty + UpdatedAt *TodoQueryProperty + func NewTodoQueryBuilder() *TodoQueryBuilder + func NewTodoQueryBuilderWithKind(kind string) *TodoQueryBuilder + func (bldr *TodoQueryBuilder) Ancestor(parentKey *datastore.Key) *TodoQueryBuilder + func (bldr *TodoQueryBuilder) KeysOnly() *TodoQueryBuilder + func (bldr *TodoQueryBuilder) Limit(limit int) *TodoQueryBuilder + func (bldr *TodoQueryBuilder) Offset(offset int) *TodoQueryBuilder + func (bldr *TodoQueryBuilder) Query() *datastore.Query + func (bldr *TodoQueryBuilder) Start(cur datastore.Cursor) *TodoQueryBuilder + type TodoQueryProperty struct + func (p *TodoQueryProperty) Asc() *TodoQueryBuilder + func (p *TodoQueryProperty) Desc() *TodoQueryBuilder + func (p *TodoQueryProperty) Equal(value interface{}) *TodoQueryBuilder + func (p *TodoQueryProperty) Filter(op string, value interface{}) *TodoQueryBuilder + func (p *TodoQueryProperty) GreaterThan(value interface{}) *TodoQueryBuilder + func (p *TodoQueryProperty) GreaterThanOrEqual(value interface{}) *TodoQueryBuilder + func (p *TodoQueryProperty) LessThan(value interface{}) *TodoQueryBuilder + func (p *TodoQueryProperty) LessThanOrEqual(value interface{}) *TodoQueryBuilder + type TodoService struct + func (s *TodoService) Delete(c context.Context, req *IntIDRequest) (*TodoJSON, error) + func (s *TodoService) Get(c context.Context, req *IntIDRequest) (*TodoJSON, error) + func (s *TodoService) Insert(c context.Context, req *TodoJSON) (*TodoJSON, error) + func (s *TodoService) List(c context.Context, r *http.Request, opts *ListOpts) ([]*TodoJSON, error) + func (s *TodoService) Update(c context.Context, req *TodoJSON) (*TodoJSON, error) Incompatible versions in this module v2.2.1+incompatible Dec 27, 2018 v2.2.0+incompatible Aug 28, 2018 v2.1.0+incompatible Mar 1, 2018 v2.0.0+incompatible Jan 7, 2018