Go lang
\nfunc convertToBase7(num int) string {\n    if(num == 0) {\n        return "0";\n    }\n    return fmt.Sprintf("%d", TtoS(Abs(num))*Abs(num)/num)\n}\n\nfunc Tt
```\nfunc convertToBase7(num int) string {\n    if(num == 0) {\n        return "0";\n    }\n    return fmt.Sprintf("%d", TtoS(Abs(num))*Abs(num)/num)\n}\n\nfunc TtoS(num int) int {\n\tdivided := int(math.Ceil(float64(num / 7)))\n\n\tif num < 7 {\n\t\treturn num\n\t}\n\treturn TtoS(divided)*10 + num%7\n}\n\nfunc Abs(x int) int {\n\tif x < 0 {\n\t\treturn -x\n\t}\n\treturn x\n}\n```
['Go']