type payoutType … const handloss … const handsurrender … const handpush … const handwin … const handblackjack … // payout hand, adjust Ratz's mood for taking or losing money, track records func (h *Hand) payout(srv common.ChatServer, hand payoutType) (displaytext string) { … }