File tree Expand file tree Collapse file tree 7 files changed +22
-11
lines changed
source/includes/queryable-encryption Expand file tree Collapse file tree 7 files changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -48,17 +48,8 @@ Create a unique index on the ``keyAltNames`` field in your
48
48
.. tab ::
49
49
:tabid: go
50
50
51
- .. important ::
52
-
53
- When building or running the Golang code in this guide using
54
- ``go build `` or ``go run ``, always include the ``cse `` build
55
- constraint to enable {+qe+}. See the following shell
56
- command for an example of including the build constraint:
57
-
58
- .. code-block :: bash
59
-
60
- go run -tags cse insert-encrypted-document.go
61
-
51
+ .. include :: /includes/queryable-encryption/tutorials/go-build-constraint.rst
52
+
62
53
.. literalinclude :: /includes/generated/in-use-encryption/queryable-encryption/go/local/reader/make-data-key.go
63
54
:start-after: start-create-index
64
55
:end-before: end-create-index
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ Create a unique index on the ``keyAltNames`` field in your
48
48
.. tab ::
49
49
:tabid: go
50
50
51
+ .. include :: /includes/queryable-encryption/tutorials/go-build-constraint.rst
52
+
51
53
.. literalinclude :: /includes/generated/in-use-encryption/queryable-encryption/go/aws/reader/make-data-key.go
52
54
:start-after: start-create-index
53
55
:end-before: end-create-index
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ Create a unique index on the ``keyAltNames`` field in your
48
48
.. tab ::
49
49
:tabid: go
50
50
51
+ .. include :: /includes/queryable-encryption/tutorials/go-build-constraint.rst
52
+
51
53
.. literalinclude :: /includes/generated/in-use-encryption/queryable-encryption/go/azure/reader/make-data-key.go
52
54
:start-after: start-create-index
53
55
:end-before: end-create-index
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ Create a unique index on the ``keyAltNames`` field in your
48
48
.. tab ::
49
49
:tabid: go
50
50
51
+ .. include :: /includes/queryable-encryption/tutorials/go-build-constraint.rst
52
+
51
53
.. literalinclude :: /includes/generated/in-use-encryption/queryable-encryption/go/gcp/reader/make-data-key.go
52
54
:start-after: start-create-index
53
55
:end-before: end-create-index
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ Create a unique index on the ``keyAltNames`` field in your
48
48
.. tab ::
49
49
:tabid: go
50
50
51
+ .. include :: /includes/queryable-encryption/tutorials/go-build-constraint.rst
52
+
51
53
.. literalinclude :: /includes/generated/in-use-encryption/queryable-encryption/go/kmip/reader/make-data-key.go
52
54
:start-after: start-create-index
53
55
:end-before: end-create-index
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ Create a unique index on the ``keyAltNames`` field in your
35
35
.. tab ::
36
36
:tabid: go
37
37
38
+ .. include :: /includes/queryable-encryption/tutorials/go-build-constraint.rst
39
+
38
40
.. literalinclude :: /includes/generated/in-use-encryption/queryable-encryption/go/exp/reader/make-data-key.go
39
41
:start-after: start-create-index
40
42
:end-before: end-create-index
Original file line number Diff line number Diff line change
1
+ .. important ::
2
+
3
+ When building or running the Golang code in this guide using
4
+ ``go build `` or ``go run ``, always include the ``cse `` build
5
+ constraint to enable {+qe+}. See the following shell
6
+ command for an example of including the build constraint:
7
+
8
+ .. code-block :: bash
9
+
10
+ go run -tags cse make-data-key.go
You can’t perform that action at this time.
0 commit comments