model.go 394 B

12345678910111213141516171819202122
  1. package methods
  2. // Method represents a Go method
  3. type Method struct {
  4. Arguments []Argument
  5. GoName string
  6. GoReturns string
  7. Name string
  8. ParentStruct string
  9. Returns string
  10. ReturnsPointer bool
  11. }
  12. // Argument represents a Go method argument
  13. type Argument struct {
  14. GoName string
  15. GoType string
  16. IsPointer bool
  17. Name string
  18. Type string
  19. }