Skip to content

Commit

Permalink
v0.0.2-alpha.6
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseCoretta committed Aug 28, 2023
1 parent 2dcbe1a commit 43cc8df
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -641,12 +641,12 @@ This example demonstrates the creation of a list stack
using comma delimitation.
*/
func ExampleStack_Delimiter() {
// note: one could also use a rune
// e.g: ',' or rune(44) for comma.
L := List().SetDelimiter(`,`).Push(
`item1`,
`item2`,
)
// note: one could also use a rune
// e.g: ',' or rune(44) for comma.
L := List().SetDelimiter(`,`).Push(
`item1`,
`item2`,
)
fmt.Printf("%s", L.Delimiter())
// Output: ,
// Output: ,
}

0 comments on commit 43cc8df

Please sign in to comment.