Files
zrok/util/template.go
T

8 lines
146 B
Go

package util
import "strings"
func ExpandUrlTemplate(token, template string) string {
return strings.Replace(template, "{token}", token, -1)
}