mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-18 20:31:08 +02:00
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>