Réécrire le projet pour la v4 #4

Merged
vlbeaudoin merged 16 commits from breaking/v4 into main 2023-05-25 23:31:14 -04:00
Showing only changes of commit 9e7a8b3e46 - Show all commits

View file

@ -40,14 +40,16 @@ var serverCmd = &cobra.Command{
e.GET("/v4/", handlers.GetV4)
e.POST("/v4/seed/", handlers.PostSeed)
e.POST("/v4/membres/", handlers.PostMembres)
e.GET("/v4/membres/:membre_id/", handlers.ReadMembre)
e.POST("/v4/membres/", handlers.PostMembres)
e.PUT("/v4/membres/:membre_id/prefered_name/", handlers.PutMembrePreferedName)
e.POST("/v4/programmes/", handlers.PostProgrammes)
e.POST("/v4/seed/", handlers.PostSeed)
// Execution
connection := data.PostgresConnection{