7873c27cfb
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> |
||
---|---|---|
.. | ||
kernel | ||
interface_freebsd.go | ||
interface_linux.go | ||
interface_windows.go | ||
namespace_linux.go | ||
namespace_unsupported.go | ||
namespace_windows.go | ||
neigh_freebsd.go | ||
neigh_linux.go | ||
neigh_windows.go | ||
options_linux.go | ||
route_linux.go | ||
sandbox.go | ||
sandbox_freebsd.go | ||
sandbox_linux_test.go | ||
sandbox_unsupported.go | ||
sandbox_unsupported_test.go |