refactor!: renommer package api_handlers à apihandler
BREAKING: package api_handlers renommé pour apihandler
This commit is contained in:
parent
624e98d656
commit
acfb2cda8b
3 changed files with 4 additions and 4 deletions
|
@ -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/
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package api_handlers
|
package apihandler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue