Add DB objects
This commit is contained in:
parent
abd5e2025e
commit
6ec37b83ce
7 changed files with 450 additions and 2 deletions
|
@ -13,8 +13,8 @@ type DispatchFunction func([]string, []byte) (interface{}, error)
|
|||
|
||||
var apiRouting = map[string]*(map[string]DispatchFunction){
|
||||
"version": &ApiVersionRouting,
|
||||
//"images": &ApiImagesRouting,
|
||||
//"users": &ApiUsersRouting,
|
||||
//"themes": &ApiThemesRouting,
|
||||
//"teams": &ApiTeamsRouting,
|
||||
}
|
||||
|
||||
func ApiRouting(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
Reference in a new issue