Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 58b4ef2d45 |
@@ -80,7 +80,9 @@ resp, _ := http.Post(
|
||||
|
||||
var result struct {
|
||||
Valid bool `json:"valid"`
|
||||
Message string `json:"message"`
|
||||
Message string `json:"message,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Expires *time.Time `json:"expires,omitempty"`
|
||||
}
|
||||
json.NewDecoder(resp.Body).Decode(&result)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user