This repository has been archived on 2022-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
tacitus/confirmation.go

15 lines
386 B
Go
Raw Normal View History

2017-09-22 07:24:42 -07:00
package tacitus
type Confirmation struct {
2017-10-10 17:22:00 -07:00
Id int `json:"id"`
Product string `json:"product"`
Type string `json:"type"`
LastId int `json:"last_id"`
2017-09-22 07:24:42 -07:00
}
type ConfirmationService interface {
2017-10-10 17:22:00 -07:00
Confirmation(product, c_type string) (Confirmation, error)
2017-09-23 11:00:50 -07:00
CreateConfirmation(c Confirmation) (Confirmation, error)
UpdateConfirmation(c Confirmation) (Confirmation, error)
2017-09-22 07:24:42 -07:00
}