-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexport_test.go
More file actions
22 lines (20 loc) · 811 Bytes
/
export_test.go
File metadata and controls
22 lines (20 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package csvpp
// Export unexported functions for testing.
var (
ParseColumnHeader = parseColumnHeader
ParseColumnHeaderWithDepth = parseColumnHeaderWithDepth
ParseHeaderRecordWithMaxDepth = parseHeaderRecordWithMaxDepth
ParseName = parseName
ParseArrayDelimiterWithDepth = parseArrayDelimiterWithDepth
IsFieldChar = isFieldChar
SplitByRune = splitByRune
SplitByDelimiter = splitByDelimiter
FormatColumnHeader = formatColumnHeader
FormatComponentList = formatComponentList
ExtractTagName = extractTagName
CachedTypeInfo = cachedTypeInfo
)
// ReaderLine returns the current line number of the reader for testing.
func ReaderLine(r *Reader) int {
return r.line
}