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

package tacitus
type Confirmation struct {
Id int `json:"id"`
Product string `json:"product"`
Type string `json:"type"`
LastId int `json:"last_id"`
}
type ConfirmationService interface {
Confirmation(product, c_type string) (Confirmation, error)
CreateConfirmation(c Confirmation) (Confirmation, error)
UpdateConfirmation(c Confirmation) (Confirmation, error)
}