Skip to content

Releases: youthlin/t

new api with context / http

25 Jun 09:54
Compare
Choose a tag to compare
// in http middleware package
lang := t.GetUserLang(request)
ctx = t.SetCtxLocale(ctx, lang)

// ...

// in your service package
t := t.WithContext(ctx)
t.T("message")

tidy api

25 Aug 03:20
ddb1827
Compare
Choose a tag to compare

see Readme

v0.0.3

28 Jul 03:22
Compare
Choose a tag to compare
UseDomain
UseLocale

xtemplate

17 Jun 07:57
Compare
Choose a tag to compare
v0.0.2

version

first-release

17 Jun 07:54
Compare
Choose a tag to compare
v0.0.1

readme