From b0129aae7914cf20c68fe7b63bd4c252509a4913 Mon Sep 17 00:00:00 2001 From: Maxime Date: Thu, 25 Apr 2024 15:12:49 +0200 Subject: [PATCH] add silvermobi/storage 'dependencie' to solidarity_mobility handler --- go.mod | 2 ++ handlers/application/silvermobi.go | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index e37eb9e..393bcef 100755 --- a/go.mod +++ b/go.mod @@ -115,3 +115,5 @@ require ( gopkg.in/square/go-jose.v2 v2.5.2-0.20210529014059-a5c7eec3c614 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) + +replace solidarity-service 0.1 => git.coopgo.io/sbouaram/solidarity-service 0.1 diff --git a/handlers/application/silvermobi.go b/handlers/application/silvermobi.go index 31a3f00..c8a61e1 100644 --- a/handlers/application/silvermobi.go +++ b/handlers/application/silvermobi.go @@ -3,11 +3,12 @@ package application import ( "fmt" "net/http" + storage "git.coopgo.io/sbouaram/solidarity-service/storage" ) func (h *ApplicationHandler) SilvermobiBookingList(w http.ResponseWriter, r *http.Request) { - + storage.GetDriver() h.Renderer.SilvermobiBookingList(w, r)