diff options
author | Julien Dessaux | 2021-09-20 01:22:18 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-09-20 01:22:18 +0200 |
commit | ae7f4d5acfe2ab97bd51523aed24b6f6aa74523e (patch) | |
tree | 7f8cded5121abcf0ea61ce2ffbae9019f730b041 /pkg/field/field.go | |
parent | Implemented function to set a field value (diff) | |
download | gofunge98-ae7f4d5acfe2ab97bd51523aed24b6f6aa74523e.tar.gz gofunge98-ae7f4d5acfe2ab97bd51523aed24b6f6aa74523e.tar.bz2 gofunge98-ae7f4d5acfe2ab97bd51523aed24b6f6aa74523e.zip |
Refactoring
Diffstat (limited to '')
-rw-r--r-- | pkg/field/field.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |