Add User route and Refactor code
This commit is contained in:
parent
519749fd3a
commit
b311a41dc7
24 changed files with 902 additions and 489 deletions
|
|
@ -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)))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue