Documentation
¶
Index ¶
- func DecimalFromString(x string) decimal.Decimal
- func DecimalToString(x decimal.Decimal) string
- func MultiplicationDecimal(n1, n2 decimal.Decimal) decimal.Decimal
- func MultiplicationDecimalFix(fix int32, n1, n2 decimal.Decimal) string
- func MultiplicationDecimalString(n1, n2 string) string
- func MultiplicationDecimalStringFix(fix int32, n1, n2 string) string
- type Config
- type LogFunc
- type Views
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecimalFromString ¶ added in v1.1.3
func DecimalToString ¶ added in v1.1.3
func MultiplicationDecimal ¶ added in v1.1.2
func MultiplicationDecimalFix ¶ added in v1.1.2
func MultiplicationDecimalString ¶ added in v1.1.3
func MultiplicationDecimalStringFix ¶ added in v1.1.3
Types ¶
type Config ¶
type Config struct {
//Dir specifies the path to the directory with templates
Dir string
//Extensions specifies what file extensions the templates have
Extensions []string
//Compress specifies whether to compress templates
//true - compresses templates during parsing
//false - does not compress templates
Compress bool
//Dev enable/disable development mode
//true - parses templates every time
//false - parses templates once at the very beginning
Dev bool
Log LogFunc
VersionFilePatch string
VersionSize int
}
Click to show internal directories.
Click to hide internal directories.