File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
queryable-encryption/quick-start Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,17 @@ Create a unique index on the ``keyAltNames`` field in your
38
38
.. tab ::
39
39
:tabid: go
40
40
41
+ .. important ::
42
+
43
+ When building or running the Golang code in this guide using
44
+ ``go build `` or ``go run ``, always include the ``cse `` build
45
+ constraint to enable {+qe+}. See the following shell
46
+ command for an example of including the build constraint:
47
+
48
+ .. code-block :: bash
49
+
50
+ go run -tags cse insert-encrypted-document.go
51
+
41
52
.. literalinclude :: /includes/generated/in-use-encryption/queryable-encryption/go/local/reader/make-data-key.go
42
53
:start-after: start-create-index
43
54
:end-before: end-create-index
@@ -53,4 +64,4 @@ Create a unique index on the ``keyAltNames`` field in your
53
64
:end-before: end-create-index
54
65
:language: csharp
55
66
:dedent:
56
- :caption: MakeDataKey.cs
67
+ :caption: MakeDataKey.cs
Original file line number Diff line number Diff line change 40
40
// You are viewing the Golang driver code examples.
41
41
// Use the dropdown menu to select a different driver.
42
42
43
+ .. important ::
44
+
45
+ When building or running the Golang code in this guide using
46
+ ``go build `` or ``go run ``, always include the ``cse `` build
47
+ constraint to enable {+csfle-abbrev+}. See the following shell
48
+ command for an example of including the build constraint:
49
+
50
+ .. code-block :: bash
51
+
52
+ go run -tags cse insert-encrypted-document.go
You can’t perform that action at this time.
0 commit comments