19 lines
468 B
Go
19 lines
468 B
Go
|
package addrs
|
||
|
|
||
|
// Referenceable is an interface implemented by all address types that can
|
||
|
// appear as references in configuration language expressions.
|
||
|
type Referenceable interface {
|
||
|
referenceableSigil()
|
||
|
|
||
|
// String produces a string representation of the address that could be
|
||
|
// parsed as a HCL traversal and passed to ParseRef to produce an identical
|
||
|
// result.
|
||
|
String() string
|
||
|
}
|
||
|
|
||
|
type referenceable struct {
|
||
|
}
|
||
|
|
||
|
func (r referenceable) referenceableSigil() {
|
||
|
}
|