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

@ -21,9 +21,9 @@ import (
"os/exec"
"strings"
"github.com/alecthomas/kingpin/v2"
"github.com/tazjin/kontemplate/context"
"github.com/tazjin/kontemplate/templater"
"gopkg.in/alecthomas/kingpin.v2"
)
const version string = "1.8.0"