Consolidate controller bootstrap login in run command (#38)

This commit is contained in:
Fedor Korotkov
2023-03-21 15:36:55 -04:00
committed by GitHub
parent 10f56bb5e3
commit 9b5ad09841
7 changed files with 68 additions and 95 deletions
-1
View File
@@ -19,7 +19,6 @@ const ctxServiceAccountKey = "service-account"
var ErrUnauthorized = errors.New("unauthorized")
func (controller *Controller) initAPI() *gin.Engine {
gin.SetMode(gin.DebugMode)
ginEngine := gin.Default()
// v1 API