lang

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LanguageFromContext

func LanguageFromContext(ctx context.Context) (string, bool)

LanguageFromContext reads a request language from ctx.

func WithLanguage

func WithLanguage(ctx context.Context, language string) context.Context

WithLanguage attaches a request language to ctx.

Types

This section is empty.

Jump to

Keyboard shortcuts

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