Skip to content

The first Golang ORM with generic based SQL querying and developer-friendly querying instruments

License

Notifications You must be signed in to change notification settings

akimsavvin/efgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started

Install

go get https://github.com/akimsavvin/efgo

Configure

import (
    "driver"
)

db.Configue("driver name", "connection string")

Query

type User struct {
    Id int `db:"id"`
    Name string `db:"name"`
}

users, err := db.QueryFirst[User]("SELECT id, name FROM users")
if err != nil {
    panic(err)
}

About

The first Golang ORM with generic based SQL querying and developer-friendly querying instruments

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages