1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-18 13:30:39 +00:00

rename infrastructure to core

This commit is contained in:
Ming Deng
2020-10-05 18:13:26 +08:00
parent ff7a8b966b
commit 48e98482f7
190 changed files with 129 additions and 130 deletions

View File

@ -17,7 +17,7 @@ package validation
import (
"reflect"
"github.com/astaxie/beego/pkg/infrastructure/validation"
"github.com/astaxie/beego/pkg/core/validation"
)
const (

View File

@ -50,7 +50,7 @@ import (
"fmt"
"regexp"
"github.com/astaxie/beego/pkg/infrastructure/validation"
"github.com/astaxie/beego/pkg/core/validation"
)
// ValidFormer valid interface

View File

@ -17,7 +17,7 @@ package validation
import (
"sync"
"github.com/astaxie/beego/pkg/infrastructure/validation"
"github.com/astaxie/beego/pkg/core/validation"
)
// CanSkipFuncs will skip valid if RequiredFirst is true and the struct field's value is empty