timezone

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext added in v2.9.0

func FromContext(ctx context.Context) (*time.Location, bool)

func NewContext added in v2.9.0

func NewContext(ctx context.Context, local *time.Location) context.Context

func Provider

func Provider(opts ...Option) func(ctx context.Context) (context.Context, error)

Types

type Option

type Option func(o *options)

func Local

func Local(name string) Option

Jump to

Keyboard shortcuts

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