// Before: 重複した単語がある // This function returns the the user name. // ^^^ ^^^ "the" が重複 funcGetUserName(id string)string { return fmt.Sprintf("User name is is %s", id) // ^^ ^^ "is" が重複 }
1 2 3 4 5
// After: 重複を修正 // This function returns the user name. funcGetUserName(id string)string { return fmt.Sprintf("User name is %s", id) }