Documentation ¶
Index ¶
- func GetArray(i interface{}, value string) ([]interface{}, error)
- func GetBoolean(i interface{}, value string) (bool, error)
- func GetFloat32(i interface{}, value string) (float32, error)
- func GetFloat64(i interface{}, value string) (float64, error)
- func GetInt(i interface{}, value string) (int, error)
- func GetPropertyValue(i interface{}, value string) (interface{}, error)
- func GetString(i interface{}, value string) (string, error)
- func Process(content []byte, variables ...Variable) []byte
- func ReplaceAll(content []byte, variables ...Variable) []byte
- type InlineVariable
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBoolean ¶
GetBoolean Gets an boolean value from an interface address
func GetFloat32 ¶
GetFloat32 Gets an float32 value from an interface address
func GetFloat64 ¶
GetFloat64 Gets an float64 value from an interface address
func GetPropertyValue ¶
GetPropertyValue Gets a property generic value
func ReplaceAll ¶
ReplaceAll Replaces all variables in a string content
Types ¶
type InlineVariable ¶
InlineVariable Entity
func GetVariables ¶
func GetVariables(content string) []InlineVariable
GetVariables Extract the variables from a file content
Click to show internal directories.
Click to hide internal directories.