16 lines
258 B
Go
16 lines
258 B
Go
package main
|
|
|
|
import (
|
|
"example.com/price-calculator/prices"
|
|
)
|
|
|
|
func main() {
|
|
taxRates := []float64(0, 0.7, 0.1, 0.15)
|
|
|
|
for _, taxRate := range taxRates {
|
|
priceJob := prices.NewTaxIncludedPriceJob(taxRate)
|
|
priceJob.Process()
|
|
}
|
|
|
|
fmt.Println(result)
|
|
} |