Skip to content

Commit

Permalink
remove code
Browse files Browse the repository at this point in the history
  • Loading branch information
llonchj committed May 25, 2017
1 parent 5c391f0 commit f119e53
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions money.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ type Money struct {

// New creates and returns new instance of Money
func New(amount int64, code string) *Money {
c := currencies[code]
if c == nil {
c = newCurrency(code)
}
return &Money{
amount: &Amount{val: amount},
currency: newCurrency(code).get(),
Expand Down

0 comments on commit f119e53

Please sign in to comment.