Skip to content

Commit bd6295a

Browse files
committed
fix path
1 parent 5e800e1 commit bd6295a

File tree

1 file changed

+8
-20
lines changed

1 file changed

+8
-20
lines changed

source/crud/insert.txt

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,9 @@ Select the :guilabel:`Struct` or :guilabel:`bson.D` tab to see the corresponding
152152
.. io-code-block::
153153
:copyable: true
154154

155-
.. input::
155+
.. input:: /includes/usage-examples/code-snippets/insertOne.go
156156
:language: go
157-
158-
.. literalinclude:: /includes/usage-examples/code-snippets/insertOne.go
159-
:language: go
160-
:dedent:
157+
:dedent:
161158

162159
.. output::
163160
:language: none
@@ -174,12 +171,9 @@ Select the :guilabel:`Struct` or :guilabel:`bson.D` tab to see the corresponding
174171
.. io-code-block::
175172
:copyable: true
176173

177-
.. input::
174+
.. input:: /includes/usage-examples/code-snippets/insertOneBsonD.go
178175
:language: go
179-
180-
.. literalinclude:: /includes/usage-examples/code-snippets/insertOneBsonD.go
181-
:language: go
182-
:dedent:
176+
:dedent:
183177

184178
.. output::
185179
:language: none
@@ -353,12 +347,9 @@ Select the :guilabel:`Struct` or :guilabel:`bson.D` tab to see the corresponding
353347
.. io-code-block::
354348
:copyable: true
355349

356-
.. input::
350+
.. input:: /includes/usage-examples/code-snippets/insertMany.go
357351
:language: go
358-
359-
.. literalinclude:: /includes/usage-examples/code-snippets/insertMany.go
360-
:language: go
361-
:dedent:
352+
:dedent:
362353

363354
.. output::
364355
:language: none
@@ -377,12 +368,9 @@ Select the :guilabel:`Struct` or :guilabel:`bson.D` tab to see the corresponding
377368
.. io-code-block::
378369
:copyable: true
379370

380-
.. input::
371+
.. input:: /includes/usage-examples/code-snippets/insertManyBsonD.go
381372
:language: go
382-
383-
.. literalinclude:: /includes/usage-examples/code-snippets/insertManyBsonD.go
384-
:language: go
385-
:dedent:
373+
:dedent:
386374

387375
.. output::
388376
:language: none

0 commit comments

Comments
 (0)