Documentation ¶
Index ¶
- func Close() error
- func InitModel() error
- type ImportMetaInfoModel
- func (m *ImportMetaInfoModel) DeleteModuleMetaInfo(importPath string) error
- func (m *ImportMetaInfoModel) DeleteSubDirs(subDirs []string) error
- func (m *ImportMetaInfoModel) GetModuleMetaInfo(importPath string) (*apidef.ModuleMetaInfo, error)
- func (m *ImportMetaInfoModel) GetSubDirRoot(subDir string) (string, error)
- func (m *ImportMetaInfoModel) SetModuleMetaInfo(importPath string, info *apidef.ModuleMetaInfo) error
- func (m *ImportMetaInfoModel) SetSubDirsToRootModule(subDirs []string, root string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImportMetaInfoModel ¶
type ImportMetaInfoModel struct {
// contains filtered or unexported fields
}
func GetImportMetaModel ¶
func GetImportMetaModel() *ImportMetaInfoModel
func (*ImportMetaInfoModel) DeleteModuleMetaInfo ¶
func (m *ImportMetaInfoModel) DeleteModuleMetaInfo(importPath string) error
func (*ImportMetaInfoModel) DeleteSubDirs ¶
func (m *ImportMetaInfoModel) DeleteSubDirs(subDirs []string) error
func (*ImportMetaInfoModel) GetModuleMetaInfo ¶
func (m *ImportMetaInfoModel) GetModuleMetaInfo(importPath string) (*apidef.ModuleMetaInfo, error)
func (*ImportMetaInfoModel) GetSubDirRoot ¶
func (m *ImportMetaInfoModel) GetSubDirRoot(subDir string) (string, error)
func (*ImportMetaInfoModel) SetModuleMetaInfo ¶
func (m *ImportMetaInfoModel) SetModuleMetaInfo(importPath string, info *apidef.ModuleMetaInfo) error
func (*ImportMetaInfoModel) SetSubDirsToRootModule ¶
func (m *ImportMetaInfoModel) SetSubDirsToRootModule(subDirs []string, root string) error
Click to show internal directories.
Click to hide internal directories.