From 2fb93b1eb72afa93e24b1016aec2feb050709826 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Thu, 1 Sep 2022 00:49:08 +0300 Subject: [PATCH] cmd: add go1.18 build directives --- cmd/publish_unix.go | 1 + cmd/subscribe_unix.go | 1 + 2 files changed, 2 insertions(+) diff --git a/cmd/publish_unix.go b/cmd/publish_unix.go index 67bf2168..3ce22ffc 100644 --- a/cmd/publish_unix.go +++ b/cmd/publish_unix.go @@ -1,3 +1,4 @@ +//go:build darwin || linux || dragonfly || freebsd || netbsd || openbsd // +build darwin linux dragonfly freebsd netbsd openbsd package cmd diff --git a/cmd/subscribe_unix.go b/cmd/subscribe_unix.go index 7c02a944..6e5128dc 100644 --- a/cmd/subscribe_unix.go +++ b/cmd/subscribe_unix.go @@ -1,3 +1,4 @@ +//go:build linux || dragonfly || freebsd || netbsd || openbsd // +build linux dragonfly freebsd netbsd openbsd package cmd