30 lines
416 B
Go
30 lines
416 B
Go
package main
|
|
|
|
type (
|
|
Class struct {
|
|
ClassName string
|
|
Fields []Field
|
|
Methods []Method
|
|
}
|
|
Field struct {
|
|
Name string
|
|
Type string
|
|
Comment string
|
|
}
|
|
Method struct {
|
|
Name string
|
|
Params []Param
|
|
Returns []Return
|
|
Comment string
|
|
}
|
|
Param struct {
|
|
Name string
|
|
Type string
|
|
Comment string
|
|
}
|
|
Return struct {
|
|
Type string
|
|
Comment string
|
|
}
|
|
)
|