utils/recaptcha/types.go
package recaptcha
import "time"
type Captcha struct {
Captcha string `json:"captcha"`
}
type RecaptchaResponse struct {
Success bool `json:"success"`
ChallengeTS time.Time `json:"challenge_ts"`
Hostname string `json:"hostname"`
ErrorCodes []string `json:"error-codes"`
}