| http.HandleFunc("/", webrootHandler) | http.HandleFunc("/", webrootHandler) | ||||
| http.HandleFunc("/api", apiV1Main) | http.HandleFunc("/api", apiV1Main) | ||||
| //http.ListenAndServe("127.0.0.1:65500", nil) | //http.ListenAndServe("127.0.0.1:65500", nil) | ||||
| CreateDefaultMenu() | |||||
| http.ListenAndServe(":65500", nil) | http.ListenAndServe(":65500", nil) | ||||
| } | } | ||||