13 lines
164 B
Go
13 lines
164 B
Go
|
package entity
|
||
|
|
||
|
type ExchangeRate struct {
|
||
|
rage string
|
||
|
source string
|
||
|
target string
|
||
|
}
|
||
|
|
||
|
func (a *ExchangeRate) ExchageTo(money Money) Money {
|
||
|
return Money{}
|
||
|
|
||
|
}
|