Skip to content

Commit 156f01d

Browse files
authored
Add Godoc badge to Readme (#13)
1 parent 3103d0c commit 156f01d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# tsplot
22
[![Go Report Card](https://goreportcard.com/badge/github.com/bitly/tsplot)](https://goreportcard.com/report/github.com/bitly/tsplot)
3+
[![Go Reference](https://pkg.go.dev/badge/github.com/bitly/tsplot.svg)](https://pkg.go.dev/github.com/bitly/tsplot)
34

45
This package provides a method of querying for raw time series data from the GCM APIs and additionally plotting that data for use in other applications.
56

scripts/codegen.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ import (
1414
monitoringpb "google.golang.org/genproto/googleapis/monitoring/v3"
1515
)
1616

17-
var rawTpl = `/*
17+
var rawTpl = `package tsplot
18+
/*
1819
DO NOT EDIT
1920
Generated by codegen.go
2021
https://github.com/googleapis/go-genproto/blob/0135a39c27378c1b903c75204eff61a060be5eb7/googleapis/monitoring/v3/common.pb.go
2122
*/
22-
package tsplot
2323
{{range $name, $value := .Aligners}}
2424
func (mq *MetricQuery) Set_{{$name}}() {
2525
*mq.aggregation = append(*mq.aggregation, withPerSeriesAligner({{$value}}))

tsplot/set_aggregation_opts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
package tsplot
12
/*
23
DO NOT EDIT
34
Generated by codegen.go
45
https://github.com/googleapis/go-genproto/blob/0135a39c27378c1b903c75204eff61a060be5eb7/googleapis/monitoring/v3/common.pb.go
56
*/
6-
package tsplot
77

88
func (mq *MetricQuery) Set_ALIGN_COUNT() {
99
*mq.aggregation = append(*mq.aggregation, withPerSeriesAligner(13))

0 commit comments

Comments
 (0)