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
3838 .. tab ::
3939 :tabid: go
4040
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+
4152 .. literalinclude :: /includes/generated/in-use-encryption/queryable-encryption/go/local/reader/make-data-key.go
4253 :start-after: start-create-index
4354 :end-before: end-create-index
@@ -53,4 +64,4 @@ Create a unique index on the ``keyAltNames`` field in your
5364 :end-before: end-create-index
5465 :language: csharp
5566 :dedent:
56- :caption: MakeDataKey.cs
67+ :caption: MakeDataKey.cs
Original file line number Diff line number Diff line change 4040 // You are viewing the Golang driver code examples.
4141 // Use the dropdown menu to select a different driver.
4242
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