GoLand Spelling fixes
This commit is contained in:
		@@ -51,7 +51,7 @@ func (m shoppingModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
 | 
			
		||||
				m.cursor++
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			// The "enter" key and the spacebar (a literal space) toggle
 | 
			
		||||
			// The "enter" key and the space bar (a literal space) toggle
 | 
			
		||||
		// the selected state for the item that the cursor is pointing at.
 | 
			
		||||
		case "enter", " ":
 | 
			
		||||
			_, ok := m.selected[m.cursor]
 | 
			
		||||
 
 | 
			
		||||
@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user