chore(kontemplate): Migrate to Go modules

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>
This commit is contained in:
Moritz Sanft 2024-06-09 22:22:47 +02:00 committed by Moritz Sanft
parent fa29d7344e
commit b16ddb54b0
6 changed files with 106 additions and 116 deletions

View file

@ -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"
)