/orm

基于database/sql库实现类似Gorm框架的go-orm框架

Primary LanguageGo

Go-Orm Framework

Features

  • 进行表的结构映射
  • 实现简单的create、update、find、delete等等api接口
  • 支持事务
  • 支持hook
  • ...

Getting Start

Prerequeisites

  • Go (we test it with 1.19.2)

Getting go-orm

With Go module support, simply add the following import

import "github.com/SkyDDDog/orm"

to your code, and then go [build|run|test] will automatically fetch the necessary dependencies.

Otherwise, run the following Go command to install the gout package:

$ go get -u github.com/SkyDDDog/gout