新增中文 README

This commit is contained in:
misitebao 2020-07-09 10:25:54 +08:00
parent 0790ff6937
commit ce71bffaf3
2 changed files with 46 additions and 0 deletions

View File

@ -1,4 +1,5 @@
# GORM # GORM
English丨[中文](README_zh.md)
The fantastic ORM library for Golang, aims to be developer friendly. The fantastic ORM library for Golang, aims to be developer friendly.
@ -10,6 +11,7 @@ The fantastic ORM library for Golang, aims to be developer friendly.
[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT) [![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/gorm.io/gorm?tab=doc) [![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/gorm.io/gorm?tab=doc)
## Overview ## Overview
* Full-Featured ORM * Full-Featured ORM

44
README_zh.md Normal file
View File

@ -0,0 +1,44 @@
# GORM
[English](README.md)丨中文
Golang绝佳的ORM库旨在对开发人员友好。
[![go report card](https://goreportcard.com/badge/github.com/go-gorm/gorm "go report card")](https://goreportcard.com/report/github.com/go-gorm/gorm)
[![test status](https://github.com/go-gorm/gorm/workflows/tests/badge.svg?branch=master "test status")](https://github.com/go-gorm/gorm/actions)
[![Join the chat at https://gitter.im/jinzhu/gorm](https://img.shields.io/gitter/room/jinzhu/gorm.svg)](https://gitter.im/jinzhu/gorm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Open Collective Backer](https://opencollective.com/gorm/tiers/backer/badge.svg?label=backer&color=brightgreen "Open Collective Backer")](https://opencollective.com/gorm)
[![Open Collective Sponsor](https://opencollective.com/gorm/tiers/sponsor/badge.svg?label=sponsor&color=brightgreen "Open Collective Sponsor")](https://opencollective.com/gorm)
[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
[![Go. Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go&logoColor=white)](https://pkg.go.dev/gorm.io/gorm?tab=doc)
## 总览
* 全功能ORM
* 关联(具有一个,具有多个,属于,一对多,多态性,单表继承)
* 钩子(创建/保存/更新/删除/查找之前/之后)
* 希望通过 `Preload` , `Joins` 加载
* 事务,嵌套事务,保存点,回滚到保存点
* 上下文、准备状态模式、运行模式
* 批量插入、批量查询、地图查找
* SQL生成、更新插入、锁定、优化器/索引/注释提示
* 复合主键
* 自动迁移
* 日志
* 可扩展基于GORM回调编写插件
* 每个功能都附带测试
* 对开发人员友好
## 入门
* GORM 指南 [https://gorm.io](https://gorm.io)
## 贡献
[你可以帮助你实现更好的GORM看看你能做什么](https://gorm.io/contribute.html)
## 许可证
© Jinzhu, 2013~time. Now
使用 [MIT License](https://github.com/go-gorm/gorm/blob/master/License) 发布