We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071c186 commit d83264fCopy full SHA for d83264f
third/third.go
@@ -59,23 +59,3 @@ func (x *CompleteFormDataReq) Check() error {
59
}
60
return nil
61
62
-
63
-func (x *LatestApplicationVersionReq) Check() error {
64
- if x.Platform == "" {
65
- return errors.New("platform is empty")
66
- }
67
- return nil
68
-}
69
70
-func (x *PageApplicationVersionReq) Check() error {
71
- if x.Pagination == nil {
72
- return errors.New("pagination is empty")
73
74
- if x.Pagination.PageNumber < 1 {
75
- return errors.New("pageNumber is invalid")
76
77
- if x.Pagination.ShowNumber < 1 {
78
- return errors.New("showNumber is invalid")
79
80
81
0 commit comments