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> |
||
---|---|---|
.. | ||
sftp.go | ||
sftp_internal_test.go | ||
sftp_test.go | ||
sftp_unsupported.go | ||
stringlock.go | ||
stringlock_test.go |