File tree Expand file tree Collapse file tree
struct-map-rules-validation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Use go get.
3131
3232Then import the validator package into your own code.
3333
34- import "github.com/beautifulentropy /validator/v10"
34+ import "github.com/letsencrypt /validator/v10"
3535
3636Error Return Value
3737-------
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package main
33import (
44 "fmt"
55
6- "github.com/beautifulentropy /validator/v10"
6+ "github.com/letsencrypt /validator/v10"
77)
88
99// MyStruct ..
Original file line number Diff line number Diff line change 66 "fmt"
77 "reflect"
88
9- "github.com/beautifulentropy /validator/v10"
9+ "github.com/letsencrypt /validator/v10"
1010)
1111
1212// DbBackedUser User struct
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package main
33import (
44 "fmt"
55
6- "github.com/beautifulentropy /validator/v10"
6+ "github.com/letsencrypt /validator/v10"
77)
88
99// Test ...
Original file line number Diff line number Diff line change 44 "reflect"
55 "sync"
66
7- "github.com/beautifulentropy/validator/v10"
87 "github.com/gin-gonic/gin/binding"
8+ "github.com/letsencrypt/validator/v10"
99)
1010
1111type defaultValidator struct {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package main
33import (
44 "fmt"
55
6- "github.com/beautifulentropy /validator/v10"
6+ "github.com/letsencrypt /validator/v10"
77)
88
99var validate * validator.Validate
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package main
33import (
44 "fmt"
55
6- "github.com/beautifulentropy /validator/v10"
6+ "github.com/letsencrypt /validator/v10"
77)
88
99// User contains user information
Original file line number Diff line number Diff line change 55 "reflect"
66 "strings"
77
8- "github.com/beautifulentropy /validator/v10"
8+ "github.com/letsencrypt /validator/v10"
99)
1010
1111// User contains user information
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package main
33import (
44 "fmt"
55
6- "github.com/beautifulentropy /validator/v10"
6+ "github.com/letsencrypt /validator/v10"
77)
88
99type Data struct {
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ package main
33import (
44 "fmt"
55
6- "github.com/beautifulentropy/validator/v10"
76 "github.com/go-playground/locales/en"
87 ut "github.com/go-playground/universal-translator"
98 en_translations "github.com/go-playground/validator/v10/translations/en"
9+ "github.com/letsencrypt/validator/v10"
1010)
1111
1212// User contains user information
You can’t perform that action at this time.
0 commit comments