//
pkg.gl
Category
github.com/go-openapi/analysis
internal
flatten
sortref
package
0.23.0
Repository:
https://github.com/go-openapi/analysis.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
1
Files
274 SLOC
#
Functions
DepthFirst
DepthFirst sorts a map of anything.
KeyParts
KeyParts construct a SplitKey with all its /-separated segments decomposed.
ReverseIndex
ReverseIndex builds a reverse index for references in schemas.
TopmostFirst
TopmostFirst sorts references by depth.
#
Structs
Key
Key represent a key item constructed from /-separated segments.
RefRevIdx
RefRevIdx is a reverse index for references.
#
Type aliases
Keys
Keys is a sortable collable collection of Keys.
PartAdder
PartAdder know how to construct the components of a new name.
SplitKey
SplitKey holds of the parts of a /-separated key, so that their location may be determined.