From fa99c12ec1eef432ce4fe7969fc8f77520c8f806 Mon Sep 17 00:00:00 2001 From: Milan Nikolic Date: Sat, 15 Oct 2022 20:56:14 +0200 Subject: [PATCH] Add new tags --- camera/camera_android.go | 1 + camera/camera_const_cv.go | 1 + camera/camera_const_linux.go | 1 + camera/camera_cv2.go | 1 + camera/camera_cv4.go | 1 + camera/camera_linux.go | 1 + camera/camera_windows.go | 1 + cmd/cam2ip/main.go | 1 + cmd/cam2ip/main_cv.go | 1 + image/base64.go | 1 + image/base64_amd64.go | 1 + image/decode.go | 1 + image/decode_jpeg.go | 1 + image/encode.go | 1 + image/encode_jpeg.go | 1 + video/video_cv2.go | 1 + video/video_cv4.go | 1 + 17 files changed, 17 insertions(+) diff --git a/camera/camera_android.go b/camera/camera_android.go index f0aa8d0..938a35a 100644 --- a/camera/camera_android.go +++ b/camera/camera_android.go @@ -1,3 +1,4 @@ +//go:build android // +build android // Package camera. diff --git a/camera/camera_const_cv.go b/camera/camera_const_cv.go index 515a8e4..a03febb 100644 --- a/camera/camera_const_cv.go +++ b/camera/camera_const_cv.go @@ -1,3 +1,4 @@ +//go:build cv2 || cv4 // +build cv2 cv4 package camera diff --git a/camera/camera_const_linux.go b/camera/camera_const_linux.go index dad2133..3c71f59 100644 --- a/camera/camera_const_linux.go +++ b/camera/camera_const_linux.go @@ -1,3 +1,4 @@ +//go:build !cv2 && !cv4 && !android // +build !cv2,!cv4,!android package camera diff --git a/camera/camera_cv2.go b/camera/camera_cv2.go index 7833bfc..d5112fc 100644 --- a/camera/camera_cv2.go +++ b/camera/camera_cv2.go @@ -1,3 +1,4 @@ +//go:build cv2 && !cv4 // +build cv2,!cv4 // Package camera. diff --git a/camera/camera_cv4.go b/camera/camera_cv4.go index 4452e34..f039d65 100644 --- a/camera/camera_cv4.go +++ b/camera/camera_cv4.go @@ -1,3 +1,4 @@ +//go:build cv4 && !cv2 // +build cv4,!cv2 // Package camera. diff --git a/camera/camera_linux.go b/camera/camera_linux.go index 0162c5e..f06ba85 100644 --- a/camera/camera_linux.go +++ b/camera/camera_linux.go @@ -1,3 +1,4 @@ +//go:build !cv2 && !cv4 && !android // +build !cv2,!cv4,!android // Package camera. diff --git a/camera/camera_windows.go b/camera/camera_windows.go index 4a4bd4e..17af2f0 100644 --- a/camera/camera_windows.go +++ b/camera/camera_windows.go @@ -1,3 +1,4 @@ +//go:build !cv2 && !cv4 // +build !cv2,!cv4 // Package camera. diff --git a/cmd/cam2ip/main.go b/cmd/cam2ip/main.go index 5efb8c1..003eb08 100644 --- a/cmd/cam2ip/main.go +++ b/cmd/cam2ip/main.go @@ -1,3 +1,4 @@ +//go:build !cv2 && !cv4 // +build !cv2,!cv4 package main diff --git a/cmd/cam2ip/main_cv.go b/cmd/cam2ip/main_cv.go index 10a65f0..72dfc8e 100644 --- a/cmd/cam2ip/main_cv.go +++ b/cmd/cam2ip/main_cv.go @@ -1,3 +1,4 @@ +//go:build cv2 || cv4 // +build cv2 cv4 package main diff --git a/image/base64.go b/image/base64.go index caf9be9..be691ac 100644 --- a/image/base64.go +++ b/image/base64.go @@ -1,3 +1,4 @@ +//go:build !amd64 // +build !amd64 package image diff --git a/image/base64_amd64.go b/image/base64_amd64.go index ff4cfb5..de73a70 100644 --- a/image/base64_amd64.go +++ b/image/base64_amd64.go @@ -1,3 +1,4 @@ +//go:build amd64 // +build amd64 package image diff --git a/image/decode.go b/image/decode.go index d68d475..8a30028 100644 --- a/image/decode.go +++ b/image/decode.go @@ -1,3 +1,4 @@ +//go:build !jpeg // +build !jpeg // Package image. diff --git a/image/decode_jpeg.go b/image/decode_jpeg.go index 95320d3..749e643 100644 --- a/image/decode_jpeg.go +++ b/image/decode_jpeg.go @@ -1,3 +1,4 @@ +//go:build jpeg // +build jpeg // Package image. diff --git a/image/encode.go b/image/encode.go index b00b98e..d675379 100644 --- a/image/encode.go +++ b/image/encode.go @@ -1,3 +1,4 @@ +//go:build !jpeg // +build !jpeg // Package image. diff --git a/image/encode_jpeg.go b/image/encode_jpeg.go index 52e597a..b0ea0a9 100644 --- a/image/encode_jpeg.go +++ b/image/encode_jpeg.go @@ -1,3 +1,4 @@ +//go:build jpeg // +build jpeg // Package image. diff --git a/video/video_cv2.go b/video/video_cv2.go index d9fbe91..51f1bda 100644 --- a/video/video_cv2.go +++ b/video/video_cv2.go @@ -1,3 +1,4 @@ +//go:build cv2 && !cv4 // +build cv2,!cv4 // Package video. diff --git a/video/video_cv4.go b/video/video_cv4.go index 33aaf60..46558ef 100644 --- a/video/video_cv4.go +++ b/video/video_cv4.go @@ -1,3 +1,4 @@ +//go:build cv4 && !cv2 // +build cv4,!cv2 // Package video.