refactor(upload): move Regex to variable
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package svg
|
||||
|
||||
const KeyRegex string = `\{\{\s*(.*?)\s*\}\}`
|
||||
|
||||
type TemplateData struct {
|
||||
Id string
|
||||
TemplateKeys []string
|
||||
|
||||
Reference in New Issue
Block a user