feat: revise API, add README.md, LICENSE
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package script
|
||||
|
||||
import (
|
||||
"context"
|
||||
"encoding/csv"
|
||||
"os"
|
||||
)
|
||||
@@ -16,7 +15,7 @@ type CSVReader struct {
|
||||
rdr *csv.Reader
|
||||
}
|
||||
|
||||
func (c *CSVReader) Read(context.Context) ([]string, error) {
|
||||
func (c *CSVReader) Read() ([]string, error) {
|
||||
return c.rdr.Read()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user