remove unnecessary space
This commit is contained in:
parent
f43c33d9a4
commit
7cc3bbdbf2
2
table.go
2
table.go
|
@ -49,7 +49,6 @@ func NewTable(name string, t reflect.Type) *Table {
|
|||
}
|
||||
|
||||
func (table *Table) columnsByName(name string) []*Column {
|
||||
|
||||
n := len(name)
|
||||
|
||||
for k := range table.columnsMap {
|
||||
|
@ -75,7 +74,6 @@ func (table *Table) GetColumn(name string) *Column {
|
|||
}
|
||||
|
||||
func (table *Table) GetColumnIdx(name string, idx int) *Column {
|
||||
|
||||
cols := table.columnsByName(name)
|
||||
|
||||
if cols != nil && idx < len(cols) {
|
||||
|
|
Loading…
Reference in New Issue