stash/pkg/utils/strings_test.go
WithoutPants cfc8222b9a
[Files Refactor] Cleanup (#2893)
* Clean up notes for develop merge
* Remove commented code
* Lint
2022-09-07 16:50:15 +10:00

12 lines
178 B
Go

package utils
import "fmt"
func ExampleStrFormat() {
fmt.Println(StrFormat("{foo} bar {baz}", StrFormatMap{
"foo": "bar",
"baz": "abc",
}))
// Output:
// bar bar abc
}