Skip to content
Snippets Groups Projects
Commit e40bbaf3 authored by Rémi PAILHAREY's avatar Rémi PAILHAREY :fork_knife_plate:
Browse files

Initial commit

Main structure for golang backend
parent f8fe12e2
Branches
No related tags found
3 merge requests!14feat: addprices + subject managment,!11feat: Add partners issue info,!5Feat: Add backoffice
go.mod 0 → 100644
package rootmux
import (
"net/http"
)
func CreateRootMux(staticDir string) http.Handler {
mainMux := http.NewServeMux()
return mainMux
}
main.go 0 → 100644
package main
import (
"log"
"net/http"
"forge.grandlyon.com/web-et-numerique/llle_project/backoffice-server/internal/rootmux"
)
func main() {
log.Println("--- Server is starting ---")
// Create main server
mainMux := rootmux.CreateRootMux("web")
http.ListenAndServe(":8080", mainMux)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment