Skip to content

Instantly share code, notes, and snippets.

@khoa-le
khoa-le / gist:751f0fac23ac760ffb66
Created May 24, 2015 01:29
Find and replace a character in a string in Go
package main
import (
"fmt"
"strings"
)
func main() {
str := " This string has many many spaces that need to be replaced "