Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // optional string msg_key = 1208; E_MsgKey = &file_localize_i18n_proto_extTypes[0] // optional bool skip_locale = 1209; E_SkipLocale = &file_localize_i18n_proto_extTypes[1] )
Extension fields to descriptorpb.EnumValueOptions.
View Source
var File_localize_i18n_proto protoreflect.FileDescriptor
Functions ¶
func FromContext ¶
FromContext resolve *i18n.Localizer from context. return nil if not found
func I18N ¶
func I18N() middleware.Middleware
func RegisterFileBundle ¶
func RegisterFileBundle(files ...FileBundle)
Types ¶
type FileBundle ¶
Click to show internal directories.
Click to hide internal directories.