|
|
@@ -14,7 +14,7 @@ import (
|
|
|
var (
|
|
|
validate *validator.Validate
|
|
|
uuidRegex = regexp.MustCompile(`^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`)
|
|
|
- slugRegex = regexp.MustCompile(`^[a-z0-9-]+$`)
|
|
|
+ slugRegex = regexp.MustCompile(`^[a-z0-9_-]+$`)
|
|
|
currencyRegex = regexp.MustCompile(`^[A-Z]{3}$`)
|
|
|
)
|
|
|
|