Categorygithub.com/gflydev/db/psql
modulepackage
1.1.0
Repository: https://github.com/gflydev/db.git
Documentation: pkg.go.dev

# README

gFly Database - PostgreSQL

Copyright © 2023, gFly
https://www.gfly.dev
All rights reserved.

Fluent Model - flexible and powerful Data-Access Layer. Build on top of Fluent SQL

Usage

Install

go get -u github.com/gflydev/[email protected]
go get -u github.com/gflydev/db/[email protected]

Quick usage main.go

import (
    mb "github.com/gflydev/db"
    dbPSQL "github.com/gflydev/db/psql"
)

func main() {
    // Register DB driver & Load Model builder
    mb.Register(dbPSQL.New())
    mb.Load()
}

# Functions

New initial PostgreSQL driver and register to database manager.

# Structs

PostgreSQL a implement of interface IDatabase for PostgreSQL.