mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 03:01:03 +01:00
Merge pull request #1106 from fedir/patch-1
Typo internally Former-commit-id: a328ed85979f6e334ceb7e92ccb13db56ec1fa95
This commit is contained in:
commit
b2bcef74c0
|
@ -636,7 +636,7 @@ func main() {
|
||||||
|
|
||||||
// Register validation for 'User'
|
// Register validation for 'User'
|
||||||
// NOTE: only have to register a non-pointer type for 'User', validator
|
// NOTE: only have to register a non-pointer type for 'User', validator
|
||||||
// interanlly dereferences during it's type checks.
|
// internally dereferences during it's type checks.
|
||||||
validate.RegisterStructValidation(UserStructLevelValidation, User{})
|
validate.RegisterStructValidation(UserStructLevelValidation, User{})
|
||||||
|
|
||||||
app := iris.New()
|
app := iris.New()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user