Files
smsc/response.go
2026-01-31 19:30:41 +03:00

11 lines
171 B
Go

package smsc
type Response struct {
Error string `json:"error"`
ErrorCode int `json:"error_code"`
}
func (s *Response) IsError() bool {
return s.Error == ""
}