From 0123f325138006548a9c17ccd7e09dd7cd1cc860 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 16 Sep 2023 12:42:18 +0200 Subject: [PATCH] user: add go.mod and integrate in CI Signed-off-by: Sebastiaan van Stijn --- Makefile | 2 +- user/go.mod | 5 +++++ user/go.sum | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 user/go.mod create mode 100644 user/go.sum diff --git a/Makefile b/Makefile index 80c6ee9d..ba4ddc4c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PACKAGES ?= mountinfo mount sequential signal symlink +PACKAGES ?= mountinfo mount sequential signal symlink user BINDIR ?= _build/bin CROSS ?= linux/arm linux/arm64 linux/ppc64le linux/s390x \ freebsd/amd64 openbsd/amd64 darwin/amd64 darwin/arm64 windows/amd64 diff --git a/user/go.mod b/user/go.mod new file mode 100644 index 00000000..1c62fac9 --- /dev/null +++ b/user/go.mod @@ -0,0 +1,5 @@ +module github.com/moby/sys/user + +go 1.17 + +require golang.org/x/sys v0.1.0 diff --git a/user/go.sum b/user/go.sum new file mode 100644 index 00000000..b69ea857 --- /dev/null +++ b/user/go.sum @@ -0,0 +1,2 @@ +golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=