Documentation
¶
Index ¶
- func DeleteFromFileFactory(hdrMap map[int]string, objData []interface{}, keyName string) (string, error)
- func DeleteProcessGSheet(sheetID string, sheetrange string, attrMap map[string]string, keyName string) ([]string, error)
- func DeleteProcessTextFile(filePath string, scanner *bufio.Scanner) ([]string, error)
- func FromFileFactory(callParams CallParams, hdrMap map[int]string, objData []interface{}) (interface{}, error)
- func FromJSONFactory(callParam CallParams, jsonData string, attrMap map[string]string) (interface{}, error)
- func ProcessCSVFile(callParams CallParams, filePath string, attrMap map[string]string) ([]interface{}, error)
- func ProcessGSheet(callParams CallParams, sheetID string, sheetrange string, ...) ([]interface{}, error)
- func ProcessJSON(callParam CallParams, filePath string, scanner *bufio.Scanner, ...) ([]interface{}, error)
- type CallParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFromFileFactory ¶
func DeleteFromFileFactory(hdrMap map[int]string, objData []interface{}, keyName string) (string, error)
DeleteFromFileFactory produces objects from input file data
func DeleteProcessGSheet ¶
func DeleteProcessGSheet(sheetID string, sheetrange string, attrMap map[string]string, keyName string) ([]string, error)
DeleteProcessGSheet does batch processing of Google Sheet input
func DeleteProcessTextFile ¶
DeleteProcessTextFile does batch processing of text input
func FromFileFactory ¶
func FromFileFactory(callParams CallParams, hdrMap map[int]string, objData []interface{}) (interface{}, error)
FromFileFactory produces objects from input file data
func FromJSONFactory ¶
func FromJSONFactory(callParam CallParams, jsonData string, attrMap map[string]string) (interface{}, error)
FromJSONFactory creates object from JSON data
func ProcessCSVFile ¶
func ProcessCSVFile(callParams CallParams, filePath string, attrMap map[string]string) ([]interface{}, error)
ProcessCSVFile does batch processing of CSV input files
func ProcessGSheet ¶
func ProcessGSheet(callParams CallParams, sheetID string, sheetrange string, attrMap map[string]string) ([]interface{}, error)
ProcessGSheet does batch processing of Google Sheet input
func ProcessJSON ¶
func ProcessJSON(callParam CallParams, filePath string, scanner *bufio.Scanner, attrMap map[string]string) ([]interface{}, error)
ProcessJSON does batch processing of JSON file input
Types ¶
type CallParams ¶
CallParams holds batch call parameters
Click to show internal directories.
Click to hide internal directories.