dfs which is  written by go programming language