mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
12 lines
178 B
Go
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
|
|
}
|