Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowedParams ¶
func AllowedParams() []string
AllowedParams returns an array of allowed param keys
func Create ¶
Create inserts a new record in the database using params, and returns the newly created id
Types ¶
type Page ¶
type Page struct { model.Model status.ModelStatus Keywords string Name string Summary string URL string Text string }
Page handles saving and retreiving pages from the database
func NewWithColumns ¶
NewWithColumns creates a new page instance and fills it with data from the database cols provided
Click to show internal directories.
Click to hide internal directories.