Documentation ¶
Index ¶
- Constants
- func GetSpecialVariableV3(ctx context.Context, t reflect.Type) (reflect.Value, bool)
- func NewContext() context.Context
- func NewErr(ctx context.Context) error
- func NewErrcode_i18n() *status
- func RenderVariableV3(ctx context.Context, v reflect.Value) (string, bool)
- func SpecialVariableChecker(ctx context.Context, typ types.Type) bool
- type SpecialValueInjector
Constants ¶
View Source
const TypeString typeString = "TypeString"
Variables ¶
This section is empty.
Functions ¶
func GetSpecialVariableV3 ¶
func NewContext ¶
func NewErrcode_i18n ¶
func NewErrcode_i18n() *status
Types ¶
type SpecialValueInjector ¶
func NewSpecialValueInjector ¶
func NewSpecialValueInjector() *SpecialValueInjector
func (*SpecialValueInjector) Get ¶
func (s *SpecialValueInjector) Get(key string) (reflect.Value, bool)
func (*SpecialValueInjector) GetCode ¶
func (s *SpecialValueInjector) GetCode(value reflect.Value) (string, bool)
func (*SpecialValueInjector) Set ¶
func (s *SpecialValueInjector) Set(key string, value reflect.Value)
func (*SpecialValueInjector) SetBuilder ¶
func (s *SpecialValueInjector) SetBuilder(value interface{}, code string)
Click to show internal directories.
Click to hide internal directories.