Adding new low level models for OAS

This commit is contained in:
Dave Shanley
2022-07-28 08:49:57 -04:00
parent 0665855605
commit a5f4c7f607
14 changed files with 206 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package low
import "gopkg.in/yaml.v3"
type HasNode interface {
GetNode() *yaml.Node
}
type NodeReference[T comparable] interface {
GetValue() T
GetNode() *yaml.Node
}
type ObjectReference interface {
GetValue() interface{}
GetNode() *yaml.Node
}