fix
This commit is contained in:
parent
214cdf5c06
commit
c985ecb91a
@ -8,7 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// reg match english letters and midline
|
// reg match english letters and midline
|
||||||
var regEnLetterAndMidline = regexp.MustCompile(`^\w+$`)
|
var regEnLetterAndMidline = regexp.MustCompile(`^[\w-]+$`)
|
||||||
|
|
||||||
type CheckConstraint struct {
|
type CheckConstraint struct {
|
||||||
Name string
|
Name string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user