Skip to content

Commit 93a1409

Browse files
authored
change Go value to Go type + backport file (mongodb#231)
1 parent fef1ca1 commit 93a1409

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.backportrc.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
// Required
3+
"repoOwner": "mongodb",
4+
"repoName": "docs-golang",
5+
6+
// the branches available to backport to
7+
"targetBranchChoices": ["master", "v1.11", "v1.10", "v1.9", "v1.8", "v1.7"],
8+
9+
// Optional: automatically merge backport PR
10+
"autoMerge": true,
11+
"autoMergeMethod": "squash"
12+
}

source/fundamentals/bson.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Overview
1616
--------
1717

1818
In this guide, you can learn about how the Go Driver handles conversions
19-
between BSON and Go values. The process of converting a Go value to
19+
between BSON and Go types. The process of converting a Go type to
2020
BSON is called **marshalling**, while the reverse process is called **unmarshalling**.
2121

2222
You should read this guide if you want to learn more about how the Go Driver
@@ -295,7 +295,7 @@ user-defined struct by using methods from the ``bson`` package:
295295
.. note::
296296

297297
You can use the ``Raw`` type to retrieve elements from a BSON
298-
document byte slice without unmarshalling it to a Go value. This can
298+
document byte slice without unmarshalling it to a Go type. This can
299299
be useful if you need to look up individual elements without
300300
unmarshalling the entire BSON document.
301301

source/whats-new.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,11 @@ New features of the 1.3 Go driver release include:
263263
What's New in 1.2
264264
-----------------
265265

266-
New features of the 1.2 Go driver release include:
266+
New features of the 1.2 Go driver release include:
267267

268268
- Support for {+csfle-short+}.
269269

270-
- ``bson.MarshalValue`` function, which marshals Go values to BSON.
270+
- ``bson.MarshalValue`` function, which marshals Go types to BSON.
271271

272272
- ``StringCodec``, which allows non-string fields to be decoded into a
273273
String field in a struct.

0 commit comments

Comments
 (0)