summaryrefslogtreecommitdiff
path: root/pkg/bindings
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-03-18 09:11:53 +0100
committerValentin Rothberg <vrothberg@redhat.com>2022-03-18 09:11:53 +0100
commitea08765f400d828907f231baa84bd880a00d95f1 (patch)
tree3ddf8be1f7b9d66416451632a3664a13a925a548 /pkg/bindings
parente59f71d230cf5435dc569add90e22cc644e38647 (diff)
downloadpodman-ea08765f400d828907f231baa84bd880a00d95f1.tar.gz
podman-ea08765f400d828907f231baa84bd880a00d95f1.tar.bz2
podman-ea08765f400d828907f231baa84bd880a00d95f1.zip
go fmt: use go 1.18 conditional-build syntax
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'pkg/bindings')
-rw-r--r--pkg/bindings/generator/generator.go1
-rw-r--r--pkg/bindings/images/build_unix.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/pkg/bindings/generator/generator.go b/pkg/bindings/generator/generator.go
index a224013ea..e69973be1 100644
--- a/pkg/bindings/generator/generator.go
+++ b/pkg/bindings/generator/generator.go
@@ -1,3 +1,4 @@
+//go:build ignore
// +build ignore
package main
diff --git a/pkg/bindings/images/build_unix.go b/pkg/bindings/images/build_unix.go
index 0afb1deb6..67a5e2998 100644
--- a/pkg/bindings/images/build_unix.go
+++ b/pkg/bindings/images/build_unix.go
@@ -1,3 +1,4 @@
+//go:build !windows
// +build !windows
package images