(c Columns)
| 2016 | return cols |
| 2017 | } |
| 2018 | func ColumnsToPb(c Columns) []*ColumnPb { |
| 2019 | cols := make([]*ColumnPb, len(c)) |
| 2020 | for i, col := range c { |
| 2021 | cols[i] = col.ToPB() |
| 2022 | } |
| 2023 | return cols |
| 2024 | } |
| 2025 | |
| 2026 | func optionalByte(b []byte) byte { |
| 2027 | var out byte |
no test coverage detected