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) }