mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
[Files Refactor] Cleanup (#2893)
* Clean up notes for develop merge * Remove commented code * Lint
This commit is contained in:
12
pkg/utils/strings_test.go
Normal file
12
pkg/utils/strings_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package utils
|
||||
|
||||
import "fmt"
|
||||
|
||||
func ExampleStrFormat() {
|
||||
fmt.Println(StrFormat("{foo} bar {baz}", StrFormatMap{
|
||||
"foo": "bar",
|
||||
"baz": "abc",
|
||||
}))
|
||||
// Output:
|
||||
// bar bar abc
|
||||
}
|
||||
Reference in New Issue
Block a user