diff --git a/internal/tui/chip.go b/internal/tui/chip.go index 416f96e66454..bb3831094d9c 100644 --- a/internal/tui/chip.go +++ b/internal/tui/chip.go @@ -1,3 +1,6 @@ +// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: +//go:build go1.22 + package tui import "strconv" diff --git a/internal/tui/colors.go b/internal/tui/colors.go index cb1493775ec1..c36dfabc8545 100644 --- a/internal/tui/colors.go +++ b/internal/tui/colors.go @@ -1,3 +1,6 @@ +// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: +//go:build go1.22 + package tui import ( diff --git a/internal/tui/count.go b/internal/tui/count.go index a015ce5cf1ea..319776e1bfc6 100644 --- a/internal/tui/count.go +++ b/internal/tui/count.go @@ -1,3 +1,6 @@ +// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: +//go:build go1.22 + package tui import ( diff --git a/internal/tui/note.go b/internal/tui/note.go index 582b279d6762..c955b8cdb462 100644 --- a/internal/tui/note.go +++ b/internal/tui/note.go @@ -1,3 +1,6 @@ +// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: +//go:build go1.22 + package tui import ( diff --git a/internal/tui/output.go b/internal/tui/output.go index a0785fcdf7c8..7fc194ac1e98 100644 --- a/internal/tui/output.go +++ b/internal/tui/output.go @@ -1,3 +1,6 @@ +// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: +//go:build go1.22 + package tui import ( diff --git a/internal/tui/str.go b/internal/tui/str.go index 2cc9a3d787d7..490e474f5efd 100644 --- a/internal/tui/str.go +++ b/internal/tui/str.go @@ -1,3 +1,6 @@ +// FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16: +//go:build go1.22 + package tui type Str struct {