mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 20:47:45 +00:00
22 lines
314 B
Go
22 lines
314 B
Go
package low
|
|
|
|
import "gopkg.in/yaml.v3"
|
|
|
|
type HasNode interface {
|
|
GetNode() *yaml.Node
|
|
}
|
|
|
|
type Buildable interface {
|
|
Build(node *yaml.Node)
|
|
}
|
|
|
|
type NodeReference[T comparable] struct {
|
|
Value T
|
|
Node *yaml.Node
|
|
}
|
|
|
|
type ObjectReference struct {
|
|
Value map[string]interface{}
|
|
Node *yaml.Node
|
|
}
|