feat: add postgres repository for training
This commit is contained in:
parent
8c277ef692
commit
ff7e320481
19 changed files with 1277 additions and 414 deletions
8
internal/money/money.go
Normal file
8
internal/money/money.go
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
package money
|
||||
|
||||
import "github.com/shopspring/decimal"
|
||||
|
||||
type Money struct {
|
||||
Amount decimal.Decimal `db:"amount"`
|
||||
Currency Currency `db:"currency"`
|
||||
}
|
||||
Reference in a new issue