Bump google.golang.org/api

This commit is contained in:
Andrea Spacca
2019-03-17 20:19:56 +01:00
parent 8e39b7fa01
commit ec086b4eb3
5432 changed files with 2486664 additions and 231553 deletions

View File

@@ -15,11 +15,11 @@
package errorreporting_test
import (
"context"
"errors"
"log"
"cloud.google.com/go/errorreporting"
"golang.org/x/net/context"
)
func Example() {
@@ -29,6 +29,9 @@ func Example() {
ServiceName: "myservice",
ServiceVersion: "v1.0",
})
if err != nil {
// TODO: handle error
}
defer func() {
if err := ec.Close(); err != nil {
log.Printf("failed to report errors to Stackdriver: %v", err)