GoLand Spelling fixes
This commit is contained in:
parent
f68fdf3d9b
commit
ce125279ca
@ -48,6 +48,7 @@ func (m testModel) View() string {
|
||||
}
|
||||
|
||||
func terminalTest() {
|
||||
//goland:noinspection SpellCheckingInspection,SpellCheckingInspection
|
||||
items := []list.Item{
|
||||
item{title: "Raspberry Pi’s", desc: "I have ’em all over my house"},
|
||||
item{title: "Nutella", desc: "It's good on toast"},
|
||||
|
@ -13,7 +13,7 @@ func paintNeeded(width float64, height float64) (paintNeededCalculated float64,
|
||||
return area / 10.0, nil
|
||||
}
|
||||
|
||||
func printListersNeeded(amount float64) {
|
||||
func printLitersNeeded(amount float64) {
|
||||
fmt.Printf("%.2f liters needed\n", amount)
|
||||
}
|
||||
|
||||
@ -23,21 +23,21 @@ func wallArea() {
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
} else {
|
||||
printListersNeeded(amount)
|
||||
printLitersNeeded(amount)
|
||||
}
|
||||
total += amount
|
||||
amount, err = paintNeeded(-5.2, 3.5)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
} else {
|
||||
printListersNeeded(amount)
|
||||
printLitersNeeded(amount)
|
||||
}
|
||||
total += amount
|
||||
amount, err = paintNeeded(5.2, 5.0)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
} else {
|
||||
printListersNeeded(amount)
|
||||
printLitersNeeded(amount)
|
||||
}
|
||||
total += amount
|
||||
fmt.Printf("Total: %.2f liters\n", total)
|
||||
|
Loading…
Reference in New Issue
Block a user