add silvermobi/storage 'dependencie' to solidarity_mobility handler

This commit is contained in:
Maxime 2024-04-25 15:12:49 +02:00
parent ea400eefcd
commit b0129aae79
2 changed files with 4 additions and 1 deletions

2
go.mod
View File

@ -115,3 +115,5 @@ require (
gopkg.in/square/go-jose.v2 v2.5.2-0.20210529014059-a5c7eec3c614 // indirect gopkg.in/square/go-jose.v2 v2.5.2-0.20210529014059-a5c7eec3c614 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect
) )
replace solidarity-service 0.1 => git.coopgo.io/sbouaram/solidarity-service 0.1

View File

@ -3,11 +3,12 @@ package application
import ( import (
"fmt" "fmt"
"net/http" "net/http"
storage "git.coopgo.io/sbouaram/solidarity-service/storage"
) )
func (h *ApplicationHandler) SilvermobiBookingList(w http.ResponseWriter, r *http.Request) { func (h *ApplicationHandler) SilvermobiBookingList(w http.ResponseWriter, r *http.Request) {
storage.GetDriver()
h.Renderer.SilvermobiBookingList(w, r) h.Renderer.SilvermobiBookingList(w, r)