Skip to content

x-ethr/pg

Repository files navigation

pg

Documentation

Official godoc documentation (with examples) can be found at the Package Registry.

Usage

Add Package Dependency
go get -u github.com/x-ethr/pg
Import & Implement

main.go

package main

import (
    "fmt"

    "github.com/x-ethr/pg"
)

func main() {
    ctx, level := context.Background(), slog.LevelInfo

    uri := pg.DSN()
    connection, e := database.Connection(ctx, uri)
    if e != nil {
        panic(e)
    }
}

Contributions

See the Contributing Guide for additional details on getting started.

About

PostgreSQL Connection Pool Wrapper

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors