add IsGoFile function
added visitFile function
added walkDir function