Skip to content

Commit 5fc2bb5

Browse files
committed
update CHANGELOG.md
1 parent a30664f commit 5fc2bb5

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
- ORM Code Completion
2121
- SQL to Struct
2222

23-
[Unreleased]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.0.0...HEAD
23+
[Unreleased]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.0.1...HEAD
2424
[1.0.1]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.0.0...v1.0.1
2525
[1.0.0]: https://github.com/maiqingqiang/go-orm-helper/tree/v1.0.0

DESCRIPTION.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
<li>More packages waiting to be discovered and improved...</li>
3535
</ul>
3636

37+
<br/>
3738
<hr/>
39+
<br/>
3840

3941
<p><b>基于 JetBrains IDE 的 Go ORM 助手插件。</b></p>
4042
<br/>
@@ -71,7 +73,9 @@
7173
<li>更多等你去发现与改进...</li>
7274
</ul>
7375

76+
<br/>
7477
<hr/>
78+
<br/>
7579

7680
<p><b>JetBrains IDEベースのGo ORMアシスタントプラグイン。</b></p>
7781
<br/>
@@ -109,7 +113,9 @@
109113
<li>発見と改善を待っています...</li>
110114
</ul>
111115

116+
<br/>
112117
<hr/>
118+
<br/>
113119

114120
<p><b>JetBrains IDE 기반 Go ORM 지원 플러그인.</b></p>
115121
<br/>

example/xorm/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
)
66

77
type Order struct {
8-
ID uint
9-
Name string
8+
ID uint // 主键
9+
Name string `xorm:"varchar(25) notnull unique 'usr_name' comment('姓名')"`
1010
Price *string
1111
}
1212

@@ -15,6 +15,6 @@ func main() {
1515

1616
var order Order
1717

18-
qq := engine.Where("id IN ?", "")
18+
qq := engine.Where("n", "")
1919
qq.And("name").Asc().Get(&order)
2020
}

0 commit comments

Comments
 (0)