Bools constructs a field that carries a slice of bools.
(key string, bs []bool)
| 36 | |
| 37 | // Bools constructs a field that carries a slice of bools. |
| 38 | func Bools(key string, bs []bool) Field { |
| 39 | return Array(key, bools(bs)) |
| 40 | } |
| 41 | |
| 42 | // ByteStrings constructs a field that carries a slice of []byte, each of which |
| 43 | // must be UTF-8 encoded text. |