Golang / Go solution
func plusOne(digits []int) []int {\n        var n int = len(digits)\n        for i:= n-1; i>=0; i--{\n            if digits[i] < 9 {\n                digits[i]+
    func plusOne(digits []int) []int {\n        var n int = len(digits)\n        for i:= n-1; i>=0; i--{\n            if digits[i] < 9 {\n                digits[i]+=1\n                return digits\n            } else {\n                digits[i] = 0\n            }\n        }\n        var a = make([]int,n+1)\n        a[0] = 1\n        return a\n    \n    }
['Go']