Versions in this module Expand all Collapse all v1 v1.0.50 Nov 27, 2020 Changes in this version + var ErrStructNotFound = errors.New("struct not found") + var ErrUnSupportInlineType = errors.New("unsupport inline type") + func GetType(api *spec.ApiSpec, t string) spec.Type + type ApiStruct struct + Imports string + Info string + Service string + Type string + func ParseApi(src string) (*ApiStruct, error) + type Parser struct + func NewParser(filename string) (*Parser, error) + func (p *Parser) Parse() (api *spec.ApiSpec, err error) + type StructParser struct + Src string + func (sp *StructParser) Parse() ([]spec.Type, error)