Skip to content

Commit

Permalink
Merge pull request #5803 from thaJeztah/build_tags
Browse files Browse the repository at this point in the history
add //go:build directives to prevent downgrading to go1.16 language
  • Loading branch information
thaJeztah authored Feb 6, 2025
2 parents c962084 + 2815d23 commit bf65a46
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 bf65a46

Please sign in to comment.