Documentation ¶
Index ¶
- func AddAdjective(adjective models.Adjective, w http.ResponseWriter, db gorp.SqlExecutor) (int, string)
- func AddName(name models.Name, w http.ResponseWriter, db gorp.SqlExecutor) (int, string)
- func GetAdjectives(db gorp.SqlExecutor) (int, string)
- func GetNames(db gorp.SqlExecutor) (int, string)
- func VoteAdjective(db gorp.SqlExecutor, params martini.Params) (int, string)
- func VoteName(db gorp.SqlExecutor, params martini.Params) (int, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAdjective ¶
func AddAdjective(adjective models.Adjective, w http.ResponseWriter, db gorp.SqlExecutor) (int, string)
func AddName ¶
func AddName(name models.Name, w http.ResponseWriter, db gorp.SqlExecutor) (int, string)
func GetAdjectives ¶
func GetAdjectives(db gorp.SqlExecutor) (int, string)
func VoteAdjective ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.