Skip to content

Commit

Permalink
docs(spanner): fix Key related document code to add package name (#10711
Browse files Browse the repository at this point in the history
)

Co-authored-by: Sri Harsha CH <[email protected]>
  • Loading branch information
nktks and harshachinta authored Sep 25, 2024
1 parent 971bfb8 commit bbe7b9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spanner/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const (
// spanner.KeyRange{
// Start: spanner.Key{"Bob", "2015-01-01"},
// End: spanner.Key{"Bob", "2015-12-31"},
// Kind: ClosedClosed,
// Kind: spanner.ClosedClosed,
// }
//
// Start and end keys can omit trailing key components. This affects the
Expand All @@ -254,7 +254,7 @@ const (
// spanner.KeyRange{
// Start: spanner.Key{"Bob", "2000-01-01"},
// End: spanner.Key{"Bob"},
// Kind: ClosedClosed,
// Kind: spanner.ClosedClosed,
// }
//
// The next example retrieves all events for "Bob":
Expand All @@ -266,7 +266,7 @@ const (
// spanner.KeyRange{
// Start: spanner.Key{"Bob"},
// End: spanner.Key{"Bob", "2000-01-01"},
// Kind: ClosedOpen,
// Kind: spanner.ClosedOpen,
// }
//
// Although we specified a Kind for this KeyRange, we didn't need to, because
Expand Down Expand Up @@ -307,7 +307,7 @@ const (
// spanner.KeyRange{
// Start: spanner.Key{100},
// End: spanner.Key{1},
// Kind: ClosedClosed,
// Kind: spanner.ClosedClosed,
// }
//
// Note that 100 is passed as the start, and 1 is passed as the end, because
Expand Down

0 comments on commit bbe7b9c

Please sign in to comment.