Commit
This commit is contained in:
parent
3bb97cbca3
commit
a277684206
6
model_web_hook_response.go
Normal file
6
model_web_hook_response.go
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package monobank
|
||||||
|
|
||||||
|
type WebHookResponse struct {
|
||||||
|
Type string `json:"type"` // "StatementItem"
|
||||||
|
Data StatementItemsInner `json:"data"`
|
||||||
|
}
|
3
types.go
Normal file
3
types.go
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
package monobank
|
||||||
|
|
||||||
|
type Array []string
|
2
utils.go
2
utils.go
@ -16,8 +16,6 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Array []string
|
|
||||||
|
|
||||||
// PtrBool is a helper routine that returns a pointer to given boolean value.
|
// PtrBool is a helper routine that returns a pointer to given boolean value.
|
||||||
func PtrBool(v bool) *bool { return &v }
|
func PtrBool(v bool) *bool { return &v }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user