Skip to content

Commit

Permalink
add //go:build directives to prevent downgrading to go1.16 language
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Feb 6, 2025
1 parent c962084 commit 2815d23
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/tui/chip.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 3 additions & 0 deletions internal/tui/colors.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
3 changes: 3 additions & 0 deletions internal/tui/count.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
3 changes: 3 additions & 0 deletions internal/tui/note.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
3 changes: 3 additions & 0 deletions internal/tui/output.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
3 changes: 3 additions & 0 deletions internal/tui/str.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 2815d23

Please sign in to comment.