MCPcopy Create free account
hub / github.com/corestoreio/pkg / LoadCSV

Function LoadCSV

sql/dmltest/csv.go:83–148  ·  view source on GitHub ↗

LoadCSV loads a csv file for mocked database testing. Like github.com/DATA-DOG/go-sqlmock does. CSV file should be comma separated.

(opts ...csvOptions)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MockRowsFunction · 0.85

Calls 3

parseColFunction · 0.85
OpenMethod · 0.45
ReadMethod · 0.45

Tested by

no test coverage detected