Browse Source

fix docker build annotations (#917)

Patrick Devine 1 year ago
parent
commit
5b2cf16397
2 changed files with 2 additions and 1 deletions
  1. 1 1
      readline/term_bsd.go
  2. 1 0
      readline/term_linux.go

+ 1 - 1
readline/term_bsd.go

@@ -1,4 +1,4 @@
-// go build darwin dragonfly freebsd netbsd openbsd
+//go:build darwin || freebsd || netbsd || openbsd
 package readline
 
 import (

+ 1 - 0
readline/term_linux.go

@@ -1,3 +1,4 @@
+//go:build linux || solaris
 package readline
 
 import (