fix: update inquiry order
This commit is contained in:
@@ -33,6 +33,7 @@ type Config struct {
|
||||
Email Email `mapstructure:"email"`
|
||||
Withdraw Withdraw `mapstructure:"withdrawal"`
|
||||
Discovery Discovery `mapstructure:"discovery"`
|
||||
Order Order `mapstructure:"order"`
|
||||
}
|
||||
|
||||
var (
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package config
|
||||
|
||||
type Order struct {
|
||||
Fee float64 `mapstructure:"fee"`
|
||||
}
|
||||
|
||||
func (w *Order) GetOrderFee() float64 {
|
||||
return w.Fee
|
||||
}
|
||||
Reference in New Issue
Block a user