Skip to content

Commit

Permalink
add missing AddBytesColumn in AddAnyColumn (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
thetruechar authored and zhoucan1990 committed Dec 23, 2019
1 parent fe1ff77 commit 3652381
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions timeline/column.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ func (cm *ColumnMap) AddAnyColumn(key string, val interface{}) {
cm.AddFloat64Column(key, float64(v))
case bool:
cm.AddBoolColumn(key, v)
case []byte:
cm.AddBytesColumn(key, v)
default:
panic("invalid value type")
}
Expand Down

0 comments on commit 3652381

Please sign in to comment.