diff --git a/readline/term_bsd.go b/readline/term_bsd.go index 98672075..6dcf42fc 100644 --- a/readline/term_bsd.go +++ b/readline/term_bsd.go @@ -1,4 +1,4 @@ -// go build darwin dragonfly freebsd netbsd openbsd +//go:build darwin || freebsd || netbsd || openbsd package readline import ( diff --git a/readline/term_linux.go b/readline/term_linux.go index ed3634e2..9028f52e 100644 --- a/readline/term_linux.go +++ b/readline/term_linux.go @@ -1,3 +1,4 @@ +//go:build linux || solaris package readline import (