Add User route and Refactor code

This commit is contained in:
Kenta420 2023-12-06 20:21:25 +07:00
parent 519749fd3a
commit b311a41dc7
24 changed files with 902 additions and 489 deletions

View file

@ -4,10 +4,7 @@ import (
"context"
"fmt"
"os/exec"
"recipe-manager/services/logger"
"time"
"go.uber.org/zap"
)
func pull_request() error {
@ -22,7 +19,7 @@ func pull_request() error {
if len(output) > 0 {
if string(output) == "Already up to date." || string(output) == "Coffee recipe updated." {
logger.GetInstance().Info("Git pull successful", zap.String("output", string(output)))
//logger.GetInstance().Info("Git pull successful", zap.String("output", string(output)))
}
}