mirror of
https://github.com/status-im/migrate.git
synced 2025-02-24 00:38:07 +00:00
Use raw string literal syntax
Gets rid of those pesky backslashes.
This commit is contained in:
parent
6dafba9632
commit
5f2bd78693
@ -15,7 +15,8 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
var filenameRegex = "^([0-9]+)_(.*)\\.(up|down)\\.%s$"
|
||||
var filenameRegex = `^([0-9]+)_(.*)\.(up|down)\.%s$`
|
||||
|
||||
|
||||
// FilenameRegex builds regular expression stmt with given
|
||||
// filename extension from driver.
|
||||
|
Loading…
x
Reference in New Issue
Block a user