Merge pull request #297 from coocood/master

Set allow composite literal to true in function call
Show methods of non-struct type in struct view.