model

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	RunInDebugMode   bool
	RunInStrictMode  bool
	SchemaWithoutPkg bool
}

type Path

type Path struct {
	ModulePath     string
	ModuleName     string
	MainFilePath   string
	HandlerPath    string
	GoModFilePath  string
	GoModCachePath string
}

type Pkg

type Pkg struct {
	Name string
	Path string
}

type PkgAndSpecs

type PkgAndSpecs struct {
	KnownPkgs     []Pkg
	KnownNamePkg  map[string]*Pkg
	KnownPathPkg  map[string]*Pkg
	KnownIDSchema map[string]*oas.SchemaObject

	TypeSpecs               map[string]map[string]*ast.TypeSpec
	PkgPathAstPkgCache      map[string]map[string]*ast.Package
	PkgNameImportedPkgAlias map[string]map[string][]string
}

type Utils

type Utils struct {
	Path
	Flags
	*PkgAndSpecs

	*logger.Logger
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL