initializers

package
v0.0.0-...-9c131a1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeGender

func InitializeGender(ctx context.Context, db *sql.DB, genderData []GenderData)

func InitializeGenderCSV

func InitializeGenderCSV(filePath string) *[]GenderData

func InitializeGenderCountry

func InitializeGenderCountry(ctx context.Context, db *sql.DB, genderCountryData []GenderCountryData)

func InitializeGenderCountryCSV

func InitializeGenderCountryCSV(filePath string) *[]GenderCountryData

func InitializeSqlite

func InitializeSqlite(ctx context.Context, db *sql.DB)

Types

type GenderCountryData

type GenderCountryData struct {
	Name        string
	Gender      string
	Code        string
	Probability string
}

type GenderData

type GenderData struct {
	Name   string
	Gender string
}

Jump to

Keyboard shortcuts

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