- 授权协议: Apache
- 开发语言: Google Go
- 操作系统: 跨平台
- 软件首页: https://github.com/ezbuy/ezorm
- 软件文档: https://github.com/ezbuy/ezorm
软件介绍
ezorm 是一个 Go 语言的 ORM 库,基于代码生成技术实现。支持 mongodb/sql server/mysql/redis.
示例代码:
p := blog.BlogMgr.NewBlog()
p.Title = "I like ezorm"
p.Slug = "ezorm"
p.Save()
p, err := blog.BlogMgr.FindBySlug("ezorm")
if err != nil {
t.Error("find fail")
}
fmt.Println("%v", p)
page.PageMgr.RemoveByID(p.Id())
_, err = blog.BlogMgr.FindBySlug("ezorm")
if err == nil {
t.Error("delete fail")
}
JS 压缩/解压工具
在线压缩/解压 JS 代码
html转js在线工具
html转js在线工具
