File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 />
7173 <li>更多等你去发现与改进...</li>
7274</ul >
7375
76+ <br />
7477<hr />
78+ <br />
7579
7680<p ><b >JetBrains IDEベースのGo ORMアシスタントプラグイン。</b ></p >
7781<br />
109113 <li>発見と改善を待っています...</li>
110114</ul >
111115
116+ <br />
112117<hr />
118+ <br />
113119
114120<p ><b >JetBrains IDE 기반 Go ORM 지원 플러그인.</b ></p >
115121<br />
Original file line number Diff line number Diff line change 55)
66
77type 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}
You can’t perform that action at this time.
0 commit comments