소스 검색

cmd: add go1.18 build directives

la-ninpre 3 년 전
부모
커밋
2fb93b1eb7
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      cmd/publish_unix.go
  2. 1 0
      cmd/subscribe_unix.go

+ 1 - 0
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

+ 1 - 0
cmd/subscribe_unix.go

@@ -1,3 +1,4 @@
+//go:build linux || dragonfly || freebsd || netbsd || openbsd
 // +build linux dragonfly freebsd netbsd openbsd
 
 package cmd