Categorygithub.com/bfitzsimmons/mastodon
modulepackage
1.0.1
Repository: https://github.com/bfitzsimmons/mastodon.git
Documentation: pkg.go.dev

# README

Mastodon

Mastodon is a Postgres library written in Go. It will allow the user to connect to and interact with a Postgres DB.

Installation

go get -u github.com/bfitzsimmons/mastodon

# Functions

GenerateNamedPlaceholders returns named placeholders (:field_name) for use in SQL queries.
GeneratePlaceholders returns the field placeholders for use in SQL queries.
InitializePostgres initializes the connections to the Postgres host.
InitializePostgresWithContext initializes the connections to the Postgres host -- with context.

# Variables

Version is the version of the library.

# Structs

Config holds the config.