* Add boolean values to Go SDK (#5647) * Update changelog
This commit is contained in:
parent
8d38ebb407
commit
90fbe4bc8f
|
@ -17,6 +17,9 @@ _(none)_
|
|||
|
||||
- [cli] Ensure that the CLI doesn't panic when trying to assemble a graph on a stack that has no snapshot available
|
||||
[#5678](https://github.com/pulumi/pulumi/pull/5678)
|
||||
|
||||
- Add boolean values to Go SDK
|
||||
[#5687](https://github.com/pulumi/pulumi/pull/5687)
|
||||
|
||||
## 2.12.1 (2020-10-23)
|
||||
|
||||
|
|
|
@ -2590,6 +2590,11 @@ type BoolInput interface {
|
|||
// Bool is an input type for bool values.
|
||||
type Bool bool
|
||||
|
||||
var (
|
||||
True = BoolPtr(true)
|
||||
False = BoolPtr(false)
|
||||
)
|
||||
|
||||
// ElementType returns the element type of this Input (bool).
|
||||
func (Bool) ElementType() reflect.Type {
|
||||
return boolType
|
||||
|
|
Loading…
Reference in a new issue