Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckD2FileErr ¶
CheckD2FileErr checks for an error and logs it
func WriteD2File ¶
WriteD2File writes the given d2File
Types ¶
type D2File ¶
type D2File struct { FileName string `json:"filename,omitempty"` Headers []string `json:"headers,omitempty"` Rows [][]string `json:"records,omitempty"` }
D2File is a struct holding all the d2 file data
func GetOrCreateFile ¶
GetOrCreateFile returns the D2File at the given key otherwise creates it
Click to show internal directories.
Click to hide internal directories.