Documentation
¶
Index ¶
Constants ¶
View Source
const AccountsTableSchema = `` /* 1264-byte string literal not displayed */
AccountsTableSchema is the SQL schema for the accounts table
Variables ¶
This section is empty.
Functions ¶
func CreateAccountsTable ¶
CreateAccountsTable creates the accounts table
Types ¶
type Config ¶
type Config struct {
Host string
Port int
User string
Password string
Database string
SSLMode string // disable, require, verify-ca, verify-full
TimeZone string
AppName string
}
Config represents PostgreSQL-specific configuration
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a Config with sensible defaults
Click to show internal directories.
Click to hide internal directories.