Fix golangci OOM (#2889)

* Fix golangci OOM

* Fix all lints
This commit is contained in:
kermieisinthehouse
2022-09-05 22:12:59 -07:00
committed by GitHub
parent 90baf7a469
commit 30879389ec
13 changed files with 23 additions and 31 deletions

View File

@@ -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 {