input

package
v0.0.0-...-e826753 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMapToStringMap

func ConvertMapToStringMap(data []map[string]interface{}) ([]map[string]string, error)

ConvertMapToStringMap converts a slice of maps with interface{} values to a slice of maps with string values.

func ProcessJSONInput

func ProcessJSONInput(filePath string, rules transform.TransformationRules) ([]map[string]string, error)

ProcessJSONInput processes the input JSON based on transformations.

func ReadCSV

func ReadCSV(filePath string) ([]map[string]string, error)

ReadCSV reads the data from a CSV file.

func ReadFirebase

func ReadFirebase(client *firestore.Client, collection string) ([]map[string]interface{}, error)

func ReadJSON

func ReadJSON(filePath string) ([]map[string]interface{}, error)

ReadJSON reads the input JSON file and returns the data as a slice of maps.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL