Documentation
¶
Index ¶
- func CreateOrUpdateHub(dbpool *pgxpool.Pool, schema string, hub models.Hub) error
- func CreateOrUpdateLink(dbpool *pgxpool.Pool, schema string, link models.Link) error
- func CreateOrUpdateSatellite(dbpool *pgxpool.Pool, schema string, satellite models.Satellite) error
- func InsertRecord(dbpool *pgxpool.Pool, schema string, tableName string, columns []string, ...) error
- func ProcessCSV(filePath string) ([][]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateHub ¶
func CreateOrUpdateLink ¶
func CreateOrUpdateSatellite ¶
func InsertRecord ¶
func ProcessCSV ¶
ProcessCSV reads and parses a CSV file, returning the records as a slice of string slices
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.