Skip to content

Commit 05d7aae

Browse files
authored
Merge pull request #117 from jbowens/jackson/doc-updates
README,crdb: update documentation
2 parents 7b228df + 01ea1d1 commit 05d7aae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CockroachDB Go Helpers
1+
# CockroachDB Go Helpers [![Go Reference](https://pkg.go.dev/badge/github.com/cockroachdb/cockroach-go/v2/crdb.svg)](https://pkg.go.dev/github.com/cockroachdb/cockroach-go/v2/crdb)
22

33
This project contains helpers for CockroachDB users writing in Go:
44
- `crdb` and its subpackages provide wrapper functions for retrying transactions that fail

crdb/tx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ import (
6767
// Instead, add context by returning an error that implements either:
6868
// - a `Cause() error` method, in the manner of github.com/pkg/errors, or
6969
// - an `Unwrap() error` method, in the manner of the Go 1.13 standard
70-
// library.
70+
// library.
7171
//
7272
// To achieve this, you can implement your own error type, or use
7373
// `errors.Wrap()` from github.com/pkg/errors or
@@ -134,7 +134,7 @@ func Execute(fn func() error) (err error) {
134134
// Instead, add context by returning an error that implements either:
135135
// - a `Cause() error` method, in the manner of github.com/pkg/errors, or
136136
// - an `Unwrap() error` method, in the manner of the Go 1.13 standard
137-
// library.
137+
// library.
138138
//
139139
// To achieve this, you can implement your own error type, or use
140140
// `errors.Wrap()` from github.com/pkg/errors or

0 commit comments

Comments
 (0)