Skip to content

Commit 4800d43

Browse files
authored
Update README.md
1 parent 5230ac8 commit 4800d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ And you should define a `Gauge` Metric first,
8686

8787
```go
8888
gaugeMetric := &ginmetrics.Metric{
89-
Type: ginmetrics.Counter,
89+
Type: ginmetrics.Gauge,
9090
Name: "example_gauge_metric",
9191
Description: "an example of gauge type metric",
9292
Labels: []string{"label1"},

0 commit comments

Comments
 (0)