golang convert buf to string code example Example: golang convert rune to string r := rune('a') fmt.Println(r, string(r))