usage:
package main
import"github.com/ituoga/appcontext"varlocaleKey= appcontext.Key[string]("localKey")
funcWithLocale(ctx context.Context, localestring) context.Context {
returnappcontext.With(ctx, localeKey, locale)
}
funcLocale(ctx context.Context) (string, bool) {
returnappcontext.Get(ctx, localeKey)
}or check appcontext_test.go