in progress

This commit is contained in:
2026-01-31 19:30:41 +03:00
parent c62ca01584
commit 69ec3a6050
7 changed files with 267 additions and 2 deletions

10
response.go Normal file
View File

@@ -0,0 +1,10 @@
package smsc
type Response struct {
Error string `json:"error"`
ErrorCode int `json:"error_code"`
}
func (s *Response) IsError() bool {
return s.Error == ""
}