robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
0b8a9bde0e
master
1package main 2 3import "fmt" 4 5func compressString(str string) string { 6 return str 7} 8 9func removeDuplicate(str string) string { 10 return str 11} 12 13func reverseAndDouble(str string) string { 14 return str 15} 16 17func printCharacters(str string) string { 18 return str 19} 20 21func main() { 22 hello := "Hello, World!" 23 24 fmt.Print(compressString("aaaabbccgh")) 25 fmt.Print(compressString("golang")) 26 fmt.Print(removeDuplicate("aabccchbbccaaa")) 27 fmt.Print(reverseAndDouble("abcdfgh")) 28 fmt.Print(printCharacters("golang")) 29 30 fmt.Println(hello) 31}