()
| 805 | type timeMode byte |
| 806 | |
| 807 | func (t timeMode) String() string { |
| 808 | switch t { |
| 809 | case binaryString: |
| 810 | return "binary:string" |
| 811 | case binaryTime: |
| 812 | return "binary:time.Time" |
| 813 | case textString: |
| 814 | return "text:string" |
| 815 | } |
| 816 | panic("unsupported timeMode") |
| 817 | } |
| 818 | |
| 819 | func (t timeMode) Binary() bool { |
| 820 | switch t { |
no outgoing calls
no test coverage detected