fix #844,find redeclare method of a type error in one golang file,add RedeclareInspection to xml file.
Merge pull request #853 from bronze1man/pr-844

fix #844,find redeclare method of a type error in one golang file,add RedeclareInspection to xml file.
Updated documentation
Remove unused function