about summary refs log tree commit diff
path: root/ops/kontemplate/templater
diff options
context:
space:
mode:
authorMoritz Sanft <58110325+msanft@users.noreply.github.com>2024-06-09T20·22+0200
committerMoritz Sanft <moritz.sanft@outlook.de>2024-06-10T07·40+0000
commitb16ddb54b0327606cec2df220eaabb1328e18e3e (patch)
treee067a252aeb4b22e66a2c384920cb3aab5b83fa3 /ops/kontemplate/templater
parentfa29d7344e2e631455f3759736234f083d741f71 (diff)
chore(kontemplate): Migrate to Go modules r/8235
This switches to [Go modules](https://go.dev/blog/using-go-modules), which have now been the standard for dependency management in Go codebases for a while. In addition to initializing a new Go module, it also updates the paths of some gopkg.in dependencies, which are deprecated as well.

Change-Id: Ie5c9faa415a65ab76cbe59f4afb437a9250be392
Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11773
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'ops/kontemplate/templater')
-rw-r--r--ops/kontemplate/templater/templater.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/kontemplate/templater/templater.go b/ops/kontemplate/templater/templater.go
index a8f0c670a603..86cbad459f5b 100644
--- a/ops/kontemplate/templater/templater.go
+++ b/ops/kontemplate/templater/templater.go
@@ -20,7 +20,7 @@ import (
 	"strings"
 	"text/template"
 
-	"github.com/Masterminds/sprig"
+	"github.com/Masterminds/sprig/v3"
 	"github.com/tazjin/kontemplate/context"
 	"github.com/tazjin/kontemplate/util"
 )