package main import "net/http" type ApiHandler struct { } func NewApiHandler() *ApiHandler { // TODO return &ApiHandler{} } func (api *ApiHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { // TODO }