File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
// constructors register the Collectors with a registry before returning them.
18
18
// There are two sets of constructors. The constructors in the first set are
19
19
// top-level functions, while the constructors in the other set are methods of
20
- // the Factory type. The top-level function return Collectors registered with
20
+ // the Factory type. The top-level functions return Collectors registered with
21
21
// the global registry (prometheus.DefaultRegisterer), while the methods return
22
22
// Collectors registered with the registry the Factory was constructed with. All
23
23
// constructors panic if the registration fails.
85
85
// }
86
86
//
87
87
// A Factory is created with the With(prometheus.Registerer) function, which
88
- // enables two usage pattern . With(prometheus.Registerer) can be called once per
88
+ // enables two usage patterns . With(prometheus.Registerer) can be called once per
89
89
// line:
90
90
//
91
91
// var (
153
153
// importing a package.
154
154
//
155
155
// A separate package allows conservative users to entirely ignore it. And
156
- // whoever wants to use it, will do so explicitly, with an opportunity to read
156
+ // whoever wants to use it will do so explicitly, with an opportunity to read
157
157
// this warning.
158
158
//
159
159
// Enjoy promauto responsibly!
You can’t perform that action at this time.
0 commit comments