package tacitus type Confirmation struct { Id int `json:"id"` Product string `json:"product"` LastTradeId int `json:"last_trade_id"` } type ConfirmationService interface { Confirmation(product string) (*Confirmation, error) CreateConfirmation(c *Confirmation) error UpdateConfirmation(c *Confirmation) error }