Documentation ¶ Index ¶ func FromContext(ctx context.Context) (*time.Location, bool) func NewContext(ctx context.Context, local *time.Location) context.Context func Provider(opts ...Option) func(ctx context.Context) (context.Context, error) type Option func Local(name string) Option 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 Source Files ¶ View all Source files context.go provider.go Click to show internal directories. Click to hide internal directories.