update README
This commit is contained in:
@@ -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