Add team listing

This commit is contained in:
nemunaire 2016-01-07 20:08:48 +01:00
parent 6ec37b83ce
commit 5a6bac928e
2 changed files with 28 additions and 1 deletions

View file

@ -14,7 +14,7 @@ type DispatchFunction func([]string, []byte) (interface{}, error)
var apiRouting = map[string]*(map[string]DispatchFunction){
"version": &ApiVersionRouting,
//"themes": &ApiThemesRouting,
//"teams": &ApiTeamsRouting,
"teams": &ApiTeamsRouting,
}
func ApiRouting(w http.ResponseWriter, r *http.Request) {