diff --git a/route/routes/routes.go b/route/routes/routes.go index dde2f13..e43cc9a 100644 --- a/route/routes/routes.go +++ b/route/routes/routes.go @@ -2,6 +2,7 @@ package routes import ( "encoding/json" + "fmt" "rpi-ci-led/pkg/database" "github.com/gin-gonic/gin" @@ -31,8 +32,10 @@ func SetRoutes(e *gin.Engine) { return err } if b := bucket.Get([]byte("project")); b == nil { + fmt.Println("b ::: ", b) return nil } else { + fmt.Println("b ::: ", b) if err := json.Unmarshal(b, &list); err != nil { return err }