Documentation ¶
Index ¶
- Constants
- func WhitespaceIsConsistentInFalseIf() templ.Component
- func WhitespaceIsConsistentInFor(i int) templ.Component
- func WhitespaceIsConsistentInIf(firstIf, secondIf bool) templ.Component
- func WhitespaceIsConsistentInSwitch(i int) templ.Component
- func WhitespaceIsConsistentInSwitchNoDefault() templ.Component
Constants ¶
View Source
const WhitespaceIsConsistentInDefaultSwitchExpected = `<button>Start</button> <button>default</button> <button>End</button>`
View Source
const WhitespaceIsConsistentInFalseIfExpected = `<button>Start</button> <button>End</button>`
View Source
const WhitespaceIsConsistentInForOneExpected = `<button>Start</button> <button>0</button> <button>End</button>`
View Source
const WhitespaceIsConsistentInForThreeExpected = `<button>Start</button> <button>0</button> <button>1</button> <button>2</button> <button>End</button>`
View Source
const WhitespaceIsConsistentInForZeroExpected = `<button>Start</button> <button>End</button>`
View Source
const WhitespaceIsConsistentInOneSwitchExpected = `<button>Start</button> <button>1</button> <button>End</button>`
View Source
const WhitespaceIsConsistentInSwitchNoDefaultExpected = `<button>Start</button> <button>End</button>`
View Source
const WhitespaceIsConsistentInTrueElseExpected = `<button>Start</button> <button>Else</button> <button>End</button>`
View Source
const WhitespaceIsConsistentInTrueElseIfExpected = `<button>Start</button> <button>ElseIf</button> <button>End</button>`
View Source
const WhitespaceIsConsistentInTrueIfExpected = `<button>Start</button> <button>If</button> <button>End</button>`
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.