mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-05 00:39:59 +00:00
12 lines
275 B
Go
12 lines
275 B
Go
|
package otelginmetrics
|
||
|
|
||
|
// Version is the current release version of the gin instrumentation.
|
||
|
func Version() string {
|
||
|
return "1.0.0"
|
||
|
}
|
||
|
|
||
|
// SemVersion is the semantic version to be supplied to tracer/meter creation.
|
||
|
func SemVersion() string {
|
||
|
return "semver:" + Version()
|
||
|
}
|