Documentation
¶
Index ¶
- func GetTSSource(config TSConfig) string
- type TSConfig
- type TSConst
- type TSDec
- type TSEndpoint
- type TSEnum
- type TSEnumInfo
- type TSInfo
- type TSInfoPakage
- type TSModule
- type TSModuleInfo
- type TSSField
- type TSSouces
- type TSSourceFile
- type TSSourceLine
- type TSStruct
- type TSTagJson
- type TSTagTs
- type TSType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTSSource ¶ added in v1.0.1
Types ¶
type TSEndpoint ¶
type TSEndpoint struct { Name string Path string Method string Request string Response string Source string File string Line int }
func ParseEndpoint ¶
func ParseEndpoint(source string, file string, line int) TSEndpoint
func (*TSEndpoint) ToTs ¶
func (e *TSEndpoint) ToTs(pkg string) string
func (*TSEndpoint) VerifyTypes ¶
func (e *TSEndpoint) VerifyTypes(info TSInfo, p string)
type TSEnum ¶
type TSEnum struct { Name string Info []TSEnumInfo }
type TSEnumInfo ¶
type TSInfo ¶
type TSInfo struct {
Packages map[string]TSInfoPakage
}
type TSInfoPakage ¶
type TSInfoPakage struct {
// contains filtered or unexported fields
}
type TSModuleInfo ¶
type TSModuleInfo struct {
// contains filtered or unexported fields
}
/ exporter
type TSSouces ¶
func (*TSSouces) AddDependencies ¶
type TSSourceFile ¶
type TSSourceFile struct { Source string Name string Lines []TSSourceLine Len int }
Click to show internal directories.
Click to hide internal directories.