Réécrire le projet pour la v4 #4
1 changed files with 4 additions and 2 deletions
|
@ -40,14 +40,16 @@ var serverCmd = &cobra.Command{
|
||||||
|
|
||||||
e.GET("/v4/", handlers.GetV4)
|
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.GET("/v4/membres/:membre_id/", handlers.ReadMembre)
|
||||||
e.POST("/v4/membres/", handlers.PostMembres)
|
|
||||||
e.PUT("/v4/membres/:membre_id/prefered_name/", handlers.PutMembrePreferedName)
|
e.PUT("/v4/membres/:membre_id/prefered_name/", handlers.PutMembrePreferedName)
|
||||||
|
|
||||||
e.POST("/v4/programmes/", handlers.PostProgrammes)
|
e.POST("/v4/programmes/", handlers.PostProgrammes)
|
||||||
|
|
||||||
|
e.POST("/v4/seed/", handlers.PostSeed)
|
||||||
|
|
||||||
// Execution
|
// Execution
|
||||||
|
|
||||||
connection := data.PostgresConnection{
|
connection := data.PostgresConnection{
|
||||||
|
|
Loading…
Reference in a new issue