VictoriaMetrics/app/vmselect/promql/tzdata.go
2021-07-26 15:50:46 +03:00

11 lines
332 B
Go

//go:build go1.15
// +build go1.15
package promql
import (
// This is needed for embedding tzdata into binary, so `timezone_offset` could work in an app running on a scratch base Docker image.
// The "time/tzdata" package has been appeared starting from Go1.15 - see https://golang.org/doc/go1.15#time/tzdata
_ "time/tzdata"
)