Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommentEntity ¶
type CommentEntity struct { Message string `datastore:"message"` Created time.Time `datastore:"created"` Key *datastore.Key `datastore:"__key__"` }
func GetComments ¶
func GetComments(parentID int64) []CommentEntity
func InsertComment ¶
func InsertComment(parentID int64, message string) CommentEntity
type GuestEntity ¶
type GuestEntity struct { Name string `datastore:"author"` Message string `datastore:"message"` Created time.Time `datastore:"created"` Key *datastore.Key `datastore:"__key__"` }
func GetAll ¶
func GetAll() []GuestEntity
func GetByID ¶
func GetByID(id int64) GuestEntity
func Insert ¶
func Insert(author, message string) GuestEntity
func Update ¶
func Update(entity GuestEntity) GuestEntity
Click to show internal directories.
Click to hide internal directories.