package strategy import "designpatterns/factory" type CashContext struct { cash factory.Casher } func (c CashContext) GetResponse(money float64) float64 { return c.cash.AcceptCash(money) }