package accounts import ( "net/http" "gitea.qpismont.fr/qpismont/trepa/internal/core" ) type Controller struct { service Service } func NewController(service Service) Controller { return Controller{service: service} } func (c *Controller) CreateAccount(w *core.Response, r *http.Request) { w.WriteHeader(http.StatusCreated) w.Json([]byte("test")) }