[functions] added get type function (most of the types are not implemented yet)
[struct] add two more case in order to be able to compile every go file