mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
committed by
GitHub
parent
90baf7a469
commit
30879389ec
@@ -12,10 +12,11 @@ type StrFormatMap map[string]interface{}
|
||||
// StrFormatMap.
|
||||
//
|
||||
// For example,
|
||||
// StrFormat("{foo} bar {baz}", StrFormatMap{
|
||||
// "foo": "bar",
|
||||
// "baz": "abc",
|
||||
// })
|
||||
//
|
||||
// StrFormat("{foo} bar {baz}", StrFormatMap{
|
||||
// "foo": "bar",
|
||||
// "baz": "abc",
|
||||
// })
|
||||
//
|
||||
// would return: "bar bar abc"
|
||||
func StrFormat(format string, m StrFormatMap) string {
|
||||
|
||||
Reference in New Issue
Block a user