Renommer handler packages pour suivre les naming conventions de go #174

Merged
vlbeaudoin merged 2 commits from rename/packages-gonamingconvention into main 2023-11-20 14:25:01 -05:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit acfb2cda8b - Show all commits

View file

@ -14,7 +14,7 @@ ADD cmd/ cmd/
ADD api/ api/ ADD api/ api/
ADD api_handlers/ api_handlers/ ADD apihandler/ apihandler/
ADD apiresponse/ apiresponse/ ADD apiresponse/ apiresponse/

View file

@ -1,4 +1,4 @@
package api_handlers package apihandler
import ( import (
"context" "context"

View file

@ -18,7 +18,7 @@ import (
"github.com/spf13/viper" "github.com/spf13/viper"
"git.agecem.com/agecem/agecem-org/api" "git.agecem.com/agecem/agecem-org/api"
"git.agecem.com/agecem/agecem-org/api_handlers" "git.agecem.com/agecem/agecem-org/apihandler"
"git.agecem.com/agecem/agecem-org/config" "git.agecem.com/agecem/agecem-org/config"
"git.agecem.com/agecem/agecem-org/media" "git.agecem.com/agecem/agecem-org/media"
"git.agecem.com/agecem/agecem-org/public" "git.agecem.com/agecem/agecem-org/public"
@ -205,7 +205,7 @@ func RunServer() {
log.Fatal("Error during NewMediaClientFromViper for API handlers") log.Fatal("Error during NewMediaClientFromViper for API handlers")
} }
v1Handler := api_handlers.V1Handler{ v1Handler := apihandler.V1Handler{
Config: cfg, Config: cfg,
MediaClient: mediaClient, MediaClient: mediaClient,
} }