Renommer handler packages pour suivre les naming conventions de go #174
3 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ ADD cmd/ cmd/
|
|||
|
||||
ADD api/ api/
|
||||
|
||||
ADD api_handlers/ api_handlers/
|
||||
ADD apihandler/ apihandler/
|
||||
|
||||
ADD apiresponse/ apiresponse/
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package api_handlers
|
||||
package apihandler
|
||||
|
||||
import (
|
||||
"context"
|
|
@ -18,7 +18,7 @@ import (
|
|||
"github.com/spf13/viper"
|
||||
|
||||
"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/media"
|
||||
"git.agecem.com/agecem/agecem-org/public"
|
||||
|
@ -205,7 +205,7 @@ func RunServer() {
|
|||
log.Fatal("Error during NewMediaClientFromViper for API handlers")
|
||||
}
|
||||
|
||||
v1Handler := api_handlers.V1Handler{
|
||||
v1Handler := apihandler.V1Handler{
|
||||
Config: cfg,
|
||||
MediaClient: mediaClient,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue