reorganize code

This commit is contained in:
2024-08-23 10:18:39 -05:00
parent 6a56b2300a
commit dbc8ca3d29
20 changed files with 476 additions and 214 deletions

View File

@@ -3,12 +3,13 @@ package main
import (
"fmt"
"go-nkode/core/api"
"go-nkode/core/nkode"
"log"
"net/http"
)
func main() {
nkodeApi := api.NewNKodeAPI()
nkodeApi := nkode.NewNKodeAPI()
handler := api.NKodeHandler{Api: nkodeApi}
mux := http.NewServeMux()
mux.Handle(api.CreateNewCustomer, &handler)