2016-09-18 00:41:21 +02:00

12 lines
168 B
Go

package protocol
type Account interface {
Equals(Account) bool
}
type AsAccount interface {
AsAccount() (Account, error)
}
type NewAccountFactory func() AsAccount