From f2df8f31cb1d245bcd673c62ecb40746ff7701b1 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Mon, 5 Jun 2023 17:28:13 +0200 Subject: [PATCH] Import go mobile bind at the android package level (#935) --- client/android/gomobile.go | 5 +++++ go.mod | 1 + go.sum | 1 + 3 files changed, 7 insertions(+) create mode 100644 client/android/gomobile.go diff --git a/client/android/gomobile.go b/client/android/gomobile.go new file mode 100644 index 000000000..533f0c7fa --- /dev/null +++ b/client/android/gomobile.go @@ -0,0 +1,5 @@ +package android + +import _ "golang.org/x/mobile/bind" + +// to keep our CI/CD that checks go.mod and go.sum files happy, we need to import the package above diff --git a/go.mod b/go.mod index 39fc6dd38..0f80479c1 100644 --- a/go.mod +++ b/go.mod @@ -63,6 +63,7 @@ require ( go.opentelemetry.io/otel/sdk/metric v0.33.0 goauthentik.io/api/v3 v3.2023051.3 golang.org/x/exp v0.0.0-20220518171630-0b5c67f07fdf + golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028 golang.org/x/net v0.10.0 golang.org/x/sync v0.1.0 golang.org/x/term v0.8.0 diff --git a/go.sum b/go.sum index 9c719d57c..0845147e3 100644 --- a/go.sum +++ b/go.sum @@ -730,6 +730,7 @@ golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPI golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028 h1:4+4C/Iv2U4fMZBiMCc98MG1In4gJY5YRhtpDNeDeHWs= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=