implemented oclib and generates argo yaml

This commit is contained in:
pb
2024-08-02 13:34:39 +02:00
parent 9ecea6dece
commit aaac37a883
14 changed files with 955 additions and 0 deletions

15
logger/logger.go Normal file
View File

@@ -0,0 +1,15 @@
package logger
import (
"os"
"time"
"github.com/rs/zerolog"
)
var Logger zerolog.Logger
func init() {
output := zerolog.ConsoleWriter{Out: os.Stdout, TimeFormat: time.RFC3339}
Logger = zerolog.New(output).With().Timestamp().Logger()
}