mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-21 08:31:53 +03: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()
|
||
|
}
|