Add go module and workspace files
This fixes IDE (e.g. intellij) cross referencing for the
frameworks/base/api soong plugin
Fixes: 302149570
Test: Manual
Change-Id: Idcf09756a43e8a65bc863a24fd3c4d572751fa5c
diff --git a/api/go.mod b/api/go.mod
new file mode 100644
index 0000000..f8bb1c0
--- /dev/null
+++ b/api/go.mod
@@ -0,0 +1,12 @@
+module android/soong/aidl
+
+go 1.18
+
+require (
+ android/soong v0.0.0
+ github.com/google/blueprint v0.0.0
+ google.golang.org/protobuf v0.0.0
+ prebuilts/bazel/common/proto/analysis_v2 v0.0.0
+ prebuilts/bazel/common/proto/build v0.0.0
+ go.starlark.net v0.0.0
+)