helpers

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SemverCompare added in v1.7.3

func SemverCompare(a, b string) int

SemverCompare compares the semantic version of Grafana versions. Grafana uses "+" as post release suffix and "-" as pre-release suffixes. We take that into account when calling upstream semver package.

func TimeTrack

func TimeTrack(start time.Time, name string, logger log.Logger, args ...interface{})

TimeTrack tracks execution time of each function.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL