Skip to content

Commit

Permalink
refactor: remove unnessary header name convert
Browse files Browse the repository at this point in the history
  • Loading branch information
siyul-park committed Nov 23, 2023
1 parent 50864f0 commit b96770d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/printer/table.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package printer

import (
"github.com/iancoleman/strcase"
"github.com/jedib0t/go-pretty/v6/table"
"github.com/jedib0t/go-pretty/v6/text"
"github.com/siyul-park/uniflow/pkg/primitive"
Expand Down Expand Up @@ -62,7 +61,7 @@ func NewTable(columns []TableColumnDefinition) (*TablePrinter, error) {
formats := make([]*jsonata.Expr, len(columns))

for i, column := range columns {
name := strcase.ToScreamingSnake(column.Name)
name := column.Name
format, err := jsonata.Compile(column.Format)
if err != nil {
return nil, err
Expand Down

0 comments on commit b96770d

Please sign in to comment.