Lunny Xiao
|
0f7cad4730
|
upgrade xorm
|
3 years ago |
Lunny Xiao
|
66f2ea1dcb
|
Upgrade xorm to v1.2.3 (#31)
Fix #29
Reviewed-on: https://gitea.com/xorm/reverse/pulls/31
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com>
|
4 years ago |
weakptr
|
8c0b7497de
|
refactor: improve flexibility and project structure (#28)
目的和变更概述
1. 项目目录结构调整,贴近但不完全照搬 [golang-standards/project-layout](https://github.com/golang-standards/project-layout),提供更清晰的目录结构
2. language 结构改为 interface 以提供更好的扩展性和可读性;language 接口支持绑定 target,便于 language 接口提供的 FuncMap 等工具能根据 target 的配置来改变自己的行为,扩展性更好
3. 分离配置结构和反序列化方法到单独的包 `pkg/conf` ,使目录结构和代码更清晰可读
4. 提供多 document 的 yaml 支持,方便要处理多个数据源的场景
5. 添加 underscore ,没什么特别的理由,主要是这套函数式的工具真的很好用,能提高代码可读性;但 underscore 这个库也有问题,因为没泛型全靠 reflect 一把梭,underscore 内部报 reflect 相关错误会比较难排查处理。
6. 添加 `column_name` 选项,生成字段 `ID int64 `xorm:"id pk autoincr"` 这样的 tag,显式建立结构字段名和列名的映射关系。参见 [#27](https://gitea.com/xorm/reverse/issues/27)
Co-authored-by: liuweiqing <liuweiqing@donview.cn>
Co-authored-by: weakptr <weakptr@outlook.com>
Co-authored-by: weakptr <weak_ptr@outlook.com>
Reviewed-on: https://gitea.com/xorm/reverse/pulls/28
Co-authored-by: weakptr <weakptr@noreply.gitea.io>
Co-committed-by: weakptr <weakptr@noreply.gitea.io>
|
4 years ago |
Lunny Xiao
|
95f6e51a4f
|
Upgrade xorm to v1.1.0
|
4 years ago |
Lunny Xiao
|
0d6e84ae90
|
Fix docs
|
4 years ago |
Lunny Xiao
|
181002f3be
|
add macOS release
|
5 years ago |
Lunny Xiao
|
4d652eb349
|
upgrade xorm to v1.0.5
|
5 years ago |
Lunny Xiao
|
f90bba21cd
|
Update release image
|
5 years ago |
Lunny Xiao
|
a78967e662
|
Add title for release
|
5 years ago |
Lunny Xiao
|
6bf66c903f
|
improve drone
|
5 years ago |
Lunny Xiao
|
5f043260b2
|
Add release drone section
|
5 years ago |
Jerry
|
d29e5a0fd3
|
fix UT case (#17)
fix UT case
Co-authored-by: Jerry <85411418@qq.com>
Reviewed-on: https://gitea.com/xorm/reverse/pulls/17
|
5 years ago |
Jerry
|
a694923aef
|
remove col.FieldName (#15)
remove col.FieldName
Co-authored-by: Jerry <85411418@qq.com>
Reviewed-on: https://gitea.com/xorm/reverse/pulls/15
|
5 years ago |
Jerry
|
c2a874ad2b
|
template add generate TableName() func (#13)
template add table_name option: true or false
template add generate TableName() func
Co-authored-by: Jerry <85411418@qq.com>
Reviewed-on: https://gitea.com/xorm/reverse/pulls/13
|
5 years ago |
Lunny Xiao
|
27bc196aa7
|
upgrade xorm to v1.0.0 (#10)
upgrade xorm to v1.0.0
Reviewed-on: https://gitea.com/xorm/reverse/pulls/10
|
5 years ago |
Lunny Xiao
|
35776e56ac
|
Support reverse from reader (#7)
Support reverse from reader
Reviewed-on: https://gitea.com/xorm/reverse/pulls/7
|
5 years ago |
Jerry
|
2b326c9115
|
Jerry: update vendor, fix postgres data_type error (#6)
update vendor, fix postgres data_type error
Co-authored-by: Jerry <85411418@qq.com>
Reviewed-on: https://gitea.com/xorm/reverse/pulls/6
|
5 years ago |
Lunny Xiao
|
53866eef22
|
fix fmt
|
5 years ago |
Lunny Xiao
|
5f576b4bbd
|
fix lint
|
5 years ago |
Lunny Xiao
|
87cf7611cd
|
fix lints
|
5 years ago |
Lunny Xiao
|
e015454944
|
update readme
|
5 years ago |
Lunny Xiao
|
5b8e377abb
|
store vendors on git
|
5 years ago |
Lunny Xiao
|
b59ca478cb
|
fix drone
|
5 years ago |
Lunny Xiao
|
76c743a0ec
|
add language link
|
5 years ago |
Lunny Xiao
|
de46dbd4f8
|
delete generated files
|
5 years ago |
Lunny Xiao
|
312f37f563
|
init project
|
5 years ago |