reflect.Value.SetBool (method)
12 uses
reflect (current package)
value.go#L1578: func (v Value) SetBool(x bool) {
encoding/asn1
asn1.go#L766: v.SetBool(true)
asn1.go#L893: val.SetBool(parsedBool)
encoding/binary
binary.go#L571: v.SetBool(d.bool())
encoding/gob
decode.go#L242: value.SetBool(state.decodeUint() != 0)
encoding/json
decode.go#L919: v.SetBool(value)
encoding/xml
read.go#L650: dst.SetBool(false)
read.go#L657: dst.SetBool(value)
fmt
scan.go#L1026: v.SetBool(s.scanBool(verb))
golang.org/x/crypto/ssh
messages.go#L411: field.SetBool(data[0] != 0)
gopkg.in/yaml.v2
decode.go#L542: out.SetBool(resolved)
text/template
exec.go#L843: value.SetBool(n.True)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |