mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 12:37:48 +00:00
18 lines
270 B
Go
18 lines
270 B
Go
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
|
|
}
|