db

package
v0.0.0-...-31d7c90 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: CC-BY-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

func DbConnect

func DbConnect() *sql.DB

func Desencriptar

func Desencriptar(ct string) string

func DoPostgress

func DoPostgress()

func Encriptar

func Encriptar(ct string) string

func LoadCSV

func LoadCSV(path string) [][]string

## Loading the CSV data

func LoadDbConfig

func LoadDbConfig()

func TestAES

func TestAES()

Types

type DbConfig

type DbConfig struct {
	Service  string
	Host     string
	Port     string
	Username string
	Password string
}
var Dbc DbConfig = DbConfig{}

Jump to

Keyboard shortcuts

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