From 5b2cf16397d302f97a079ec925adb0e81bcc2bd5 Mon Sep 17 00:00:00 2001 From: Patrick Devine Date: Thu, 26 Oct 2023 12:00:33 -0700 Subject: [PATCH] fix docker build annotations (#917) --- readline/term_bsd.go | 2 +- readline/term_linux.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 (