Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SingleQuoted ¶
SingleQuoted returns a gval.Language for parsing single quoted strings.
Example ¶
value, err := gval.Evaluate(`'Hello `+"World!", nil, SingleQuoted())
if err != nil {
panic(err)
}
fmt.Println(value)
// Output
// Hello World!
func UnquoteSingleQuoted ¶
UnquoteSingleQuoted interprets s as a single-quoted Go like string literal, returning the string value that s quotes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.
