scan

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver interface {
	Resolve(ptr pointer.Pointer) (*spec.Schema, error)
}

Resolver is sort of oposite of scanner its supposed to take info already resolved and return schema.

type Scanner

type Scanner interface {
	Scan(*packages.Package) error
}

Scanner is intended for scanning packages. It recieves package scan it and store relevant info.

type ScannerResolver

type ScannerResolver interface {
	Scanner
	Resolver
}

ScannerResolver is both Scanner and Resolver

Directories

Path Synopsis
Package cmds is sort of like ast for oapenapi commands.
Package cmds is sort of like ast for oapenapi commands.

Jump to

Keyboard shortcuts

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