9 lines
186 B
Go
9 lines
186 B
Go
|
// expander.go
|
||
|
package text
|
||
|
|
||
|
func ExpandStringTemplate(ctx ExpanderContext, template string) (result string, err error) {
|
||
|
AddBaseFuncs(ctx)
|
||
|
result, err = Scan(ctx, template)
|
||
|
return
|
||
|
}
|