scanner worked
now with the lib package,can scan the source file to get interface,struct and funcations.