From ae7f4d5acfe2ab97bd51523aed24b6f6aa74523e Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 20 Sep 2021 01:22:18 +0200 Subject: Refactoring --- pkg/field/field.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/field/field.go') diff --git a/pkg/field/field.go b/pkg/field/field.go index 0495635..42ade84 100644 --- a/pkg/field/field.go +++ b/pkg/field/field.go @@ -28,7 +28,7 @@ type Line struct { columns []int } -func LoadFile(fd io.Reader) (*Field, error) { +func Load(fd io.Reader) (*Field, error) { f := new(Field) l := new(Line) trailingSpaces := 0 -- cgit v1.2.3