banner

package
Version: v0.0.0-...-a622702 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIncompleteKey

func NewIncompleteKey(ctx appengine.Context) *datastore.Key

func NewKey

func NewKey(ctx appengine.Context, str_id string, int_id int64) *datastore.Key

Types

type Banner struct {
	ID        int64     `json:"ID"`
	Title     string    `json:"title"`
	Image     string    `json:"image"`
	Caption   string    `json:"caption"`
	DateAdded time.Time `json:"date_added"`
}

func All

func All(ctx appengine.Context) ([]Banner, error)

func (*Banner) Delete

func (b *Banner) Delete(ctx appengine.Context) error

func (*Banner) Get

func (b *Banner) Get(ctx appengine.Context) error

func (*Banner) Save

func (b *Banner) Save(ctx appengine.Context) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL