Discover Packages
github.com/snowmerak/jetti/v2
lib
model
package
Version:
v2.12.0
Opens a new window with list of versions in this module.
Published: Jan 13, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Field struct {
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
FuncType *FuncType `json:"funcType,omitempty"`
Tag string `json:"tag,omitempty"`
}
type FuncType struct {
Params []Field
Return []Field
}
type Interface struct {
Doc string `json:"doc"`
Name string `json:"name"`
Methods []Method `json:"methods"`
}
type InterfaceTransferObject struct {
Path string `json:"path"`
Imports []Import `json:"imports"`
Interface Interface `json:"interface"`
}
type Method struct {
Receiver Field `json:"receiver"`
Name string `json:"name"`
Params []Field `json:"params"`
Return []Field `json:"return"`
Code []string `json:"code"`
}
type MethodTransferObject struct {
Path string `json:"path"`
Imports []Import `json:"imports"`
Method Method `json:"method"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.