Documentation ¶
Overview ¶
Package tax is the algorithm to calculate taxes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectTaxYear ¶ added in v0.0.9
SelectTaxYear ask in console if you want Ask to the user if he wants to change the year of the tax metrics to calculate taxes from another year
func ShowTaxList ¶ added in v0.0.9
ShowTaxList show in the console the list of year metrics
func ShowTaxListUsed ¶ added in v0.0.9
ShowTaxListUsed show the current tax used in the console
func StartReverseTaxCalculator ¶ added in v0.0.9
StartReverseTaxCalculator calculate income needed from remainder seized by user
Types ¶
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
Result define the result after calculating tax
type TaxTranche ¶
type TaxTranche struct {
// contains filtered or unexported fields
}
TaxTranche represent the tax calculating for each tranch when we calculate tax
Click to show internal directories.
Click to hide internal directories.