Skip to content

Commit

Permalink
chore: support latest four Go versions (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
enocom authored Oct 25, 2021
1 parent 3a52440 commit 86f37d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.15, 1.16, 1.17]
go-version: [1.14, 1.15, 1.16, 1.17]
steps:
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v2
Expand Down
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ myDialer, err := cloudsqlconn.NewDialer(

### Enabling Metrics and Tracing

This library includes support for metrics and tracing using [OpenCensus][].
To enable metrics or tracing, you need to configure an [exporter][].
OpenCensus supports many backends for exporters.
This library includes support for metrics and tracing using [OpenCensus][].
To enable metrics or tracing, you need to configure an [exporter][].
OpenCensus supports many backends for exporters.

For example, to use [Cloud Monitoring][] and [Cloud Trace][], you would
For example, to use [Cloud Monitoring][] and [Cloud Trace][], you would
configure an exporter like so:

``` golang
Expand All @@ -142,7 +142,7 @@ func main() {
sd, err := stackdriver.NewExporter(stackdriver.Options{
ProjectID: "mycoolproject",
})
if err != nil {
if err != nil {
// handle error
}
defer sd.Flush()
Expand All @@ -156,6 +156,11 @@ func main() {
}
```

## Go Versions Supported

We support the latest four Go versions. Changes in supported Go versions will be
considered a minor and not a major change.

[OpenCensus]: https://opencensus.io/introduction/
[exporter]: https://opencensus.io/exporters/
[Cloud Trace]: https://cloud.google.com/trace
Expand Down

0 comments on commit 86f37d7

Please sign in to comment.