4f0ddb60e7
strings.ReplaceAll(s, old, new) is a wrapper function for strings.Replace(s, old, new, -1). But strings.ReplaceAll is more readable and removes the hardcoded -1. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> |
||
---|---|---|
.. | ||
configfile.go | ||
configfile_other.go | ||
configfile_test.go | ||
configfile_unix.go |