feat: 0.0.1
This commit is contained in:
146 files changed
+10444
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package api
|
||||
|
||||
// (import (
|
||||
// "github.com/FernandoJVideira/simple_bank/util"
|
||||
// "github.com/go-playground/validator/v10"
|
||||
// )
|
||||
|
||||
// var validCurrency validator.Func = func(fieldlevel validator.FieldLevel) bool {
|
||||
// if currency, ok := fieldlevel.Field().Interface().(string); ok {
|
||||
// return util.IsSupportedCurrency(currency)
|
||||
// }
|
||||
// return false
|
||||
// })
|
||||
Reference in new issue
Block a user