getLabel returns the effective label of the column.
()
| 221 | |
| 222 | // getLabel returns the effective label of the column. |
| 223 | func (co *ColumnOptions) getLabel() string { |
| 224 | if co.Label != "" { |
| 225 | return co.Label |
| 226 | } |
| 227 | return co.Column |
| 228 | } |
| 229 | |
| 230 | // fromMetaMap sets column options from meta data map. |
| 231 | func (co *ColumnOptions) fromMetaMap(meta map[string]string) { |
no outgoing calls
no test coverage detected