61262ad98e
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> |
||
---|---|---|
.. | ||
testdata | ||
backend.go | ||
backend_test.go | ||
field_data.go | ||
field_data_test.go | ||
field_type.go | ||
filter.go | ||
identity.go | ||
identity_test.go | ||
lease.go | ||
lease_test.go | ||
openapi.go | ||
openapi_test.go | ||
path.go | ||
path_map.go | ||
path_map_test.go | ||
path_struct.go | ||
path_struct_test.go | ||
path_test.go | ||
policy_map.go | ||
policy_map_test.go | ||
secret.go | ||
secret_test.go | ||
template.go | ||
testing.go | ||
wal.go | ||
wal_test.go |