services

package
v0.0.0-...-e79ca3d Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrUpdateHub

func CreateOrUpdateHub(dbpool *pgxpool.Pool, schema string, hub models.Hub) error
func CreateOrUpdateLink(dbpool *pgxpool.Pool, schema string, link models.Link) error

func CreateOrUpdateSatellite

func CreateOrUpdateSatellite(dbpool *pgxpool.Pool, schema string, satellite models.Satellite) error

func InsertRecord

func InsertRecord(dbpool *pgxpool.Pool, schema string, tableName string, columns []string, record []string) error

func ProcessCSV

func ProcessCSV(filePath string) ([][]string, error)

ProcessCSV reads and parses a CSV file, returning the records as a slice of string slices

Types

This section is empty.

Jump to

Keyboard shortcuts

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