Skip to content

Commit bbe7b9c

Browse files
nktksharshachinta
andauthored
docs(spanner): fix Key related document code to add package name (#10711)
Co-authored-by: Sri Harsha CH <57220027+harshachinta@users.noreply.github.com>
1 parent 971bfb8 commit bbe7b9c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

spanner/key.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const (
238238
// spanner.KeyRange{
239239
// Start: spanner.Key{"Bob", "2015-01-01"},
240240
// End: spanner.Key{"Bob", "2015-12-31"},
241-
// Kind: ClosedClosed,
241+
// Kind: spanner.ClosedClosed,
242242
// }
243243
//
244244
// Start and end keys can omit trailing key components. This affects the
@@ -254,7 +254,7 @@ const (
254254
// spanner.KeyRange{
255255
// Start: spanner.Key{"Bob", "2000-01-01"},
256256
// End: spanner.Key{"Bob"},
257-
// Kind: ClosedClosed,
257+
// Kind: spanner.ClosedClosed,
258258
// }
259259
//
260260
// The next example retrieves all events for "Bob":
@@ -266,7 +266,7 @@ const (
266266
// spanner.KeyRange{
267267
// Start: spanner.Key{"Bob"},
268268
// End: spanner.Key{"Bob", "2000-01-01"},
269-
// Kind: ClosedOpen,
269+
// Kind: spanner.ClosedOpen,
270270
// }
271271
//
272272
// Although we specified a Kind for this KeyRange, we didn't need to, because
@@ -307,7 +307,7 @@ const (
307307
// spanner.KeyRange{
308308
// Start: spanner.Key{100},
309309
// End: spanner.Key{1},
310-
// Kind: ClosedClosed,
310+
// Kind: spanner.ClosedClosed,
311311
// }
312312
//
313313
// Note that 100 is passed as the start, and 1 is passed as the end, because

0 commit comments

Comments
 (0)