Documentation ¶
Index ¶
- func AddCommasToPrice(price string) string
- func DecimalRnd(min, max float64) decimal.Decimal
- func Instance() *logrus.Logger
- func IntRnd(min, max int) int
- func NewInstance(_config Config) *logrus.Logger
- func PriceUnit(priceStr string) (float64, error)
- func Setup(_config Config)
- func ToFields(_struct any) logrus.Fields
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommasToPrice ¶
AddCommasToPrice 함수는 가격에 쉼표를 추가합니다.
func DecimalRnd ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.