You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, would it be possible (and make sense of course) the money.New function to return an error if the provided currency code is not in the currencies list (e.g., "XYZ") instead of just creating it with default values? Less important and debatable, would making the default configurable (as more of a fallback) an interesting feature (e.g., set default as USD for example)?
The text was updated successfully, but these errors were encountered:
aliash98
added a commit
to aliash98/go-money
that referenced
this issue
Feb 5, 2021
Hi, would it be possible (and make sense of course) the
money.New
function to return an error if the provided currency code is not in the currencies list (e.g., "XYZ") instead of just creating it with default values? Less important and debatable, would making the default configurable (as more of a fallback) an interesting feature (e.g., set default as USD for example)?The text was updated successfully, but these errors were encountered: