add core.completion golang code