go get github.com/go-packagist/go-kratos-timezone
package main
import (
kratos "github.com/go-kratos/kratos/v2"
timezone "github.com/go-packagist/go-kratos-timezone"
)
func main() {
app := kratos.New(
kratos.BeforeStart(
timezone.Timezone(timezone.WithTimezone("UTC")),
),
)
app.Run()
}
The MIT License (MIT). Please see License File for more information.