0dc3a6015c
The main "zcl" package requires a bit more care because of how many callers it has and because of its two subpackages, so we'll take care of that one separately.
14 lines
564 B
Go
14 lines
564 B
Go
package hcldec
|
|
|
|
// Verify that all of our spec types implement the necessary interfaces
|
|
var objectSpecAsSpec Spec = ObjectSpec(nil)
|
|
var tupleSpecAsSpec Spec = TupleSpec(nil)
|
|
var attrSpecAsSpec Spec = (*AttrSpec)(nil)
|
|
var literalSpecAsSpec Spec = (*LiteralSpec)(nil)
|
|
var exprSpecAsSpec Spec = (*ExprSpec)(nil)
|
|
var blockSpecAsSpec Spec = (*BlockSpec)(nil)
|
|
var blockListSpecAsSpec Spec = (*BlockListSpec)(nil)
|
|
var blockSetSpecAsSpec Spec = (*BlockSetSpec)(nil)
|
|
var blockMapSpecAsSpec Spec = (*BlockMapSpec)(nil)
|
|
var blockLabelSpecAsSpec Spec = (*BlockLabelSpec)(nil)
|