From 2a0447bc7b948f77d4b1066c3d6efda5fe7ec081 Mon Sep 17 00:00:00 2001 From: Tine Date: Sat, 25 May 2024 19:55:25 +0200 Subject: [PATCH] refactor: use yaml v3 --- go.mod | 3 +-- internal/server/handlers/handlers.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index afd6926..163c3f0 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( go.temporal.io/server v1.22.4 golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 golang.org/x/oauth2 v0.17.0 - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.1 ) replace go.temporal.io/server => github.com/temporalio/temporal v1.23.0-rc2.0.20240207154935-68882596be5d @@ -198,7 +198,6 @@ require ( gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/validator.v2 v2.0.1 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/uint128 v1.3.0 // indirect modernc.org/cc/v3 v3.41.0 // indirect modernc.org/ccgo/v3 v3.16.15 // indirect diff --git a/internal/server/handlers/handlers.go b/internal/server/handlers/handlers.go index c0fe09a..eb67a5f 100644 --- a/internal/server/handlers/handlers.go +++ b/internal/server/handlers/handlers.go @@ -11,7 +11,7 @@ import ( "github.com/mentos1386/zdravko/pkg/script" "github.com/mentos1386/zdravko/web/templates/components" "go.temporal.io/sdk/client" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) //go:embed examples.yaml