28 lines
430 B
Go
28 lines
430 B
Go
package request
|
|
|
|
type RichRequest struct {
|
|
BasePageRequest
|
|
GuildId string
|
|
}
|
|
|
|
func (r *RichRequest) CheckParameter() (err error) {
|
|
err = r.BasePageRequest.CheckParameter()
|
|
if err != nil {
|
|
return err
|
|
}
|
|
return
|
|
}
|
|
|
|
type PopularityRequest struct {
|
|
BasePageRequest
|
|
GuildId string
|
|
}
|
|
|
|
func (r *PopularityRequest) CheckParameter() (err error) {
|
|
err = r.BasePageRequest.CheckParameter()
|
|
if err != nil {
|
|
return err
|
|
}
|
|
return
|
|
}
|