Commit Graph

7 Commits (330fa759453c0248a40c4ad9c2cade2b81e84b51)

Author SHA1 Message Date
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. ()
* chore: rewrite format.

* chore: update format

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* chore: update format

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* chore: Adjacent parameters with the same type should be grouped together

* chore: update format.
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database ()
* Use ID or Where to instead directly use Get when load object from database

* Apply suggestions from code review

Co-authored-by: 6543 <6543@obermui.de>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Filip Navara 9b2fcadeef Fix SQL quoting ()
`show` is keyword in MySQL and has to be quoted to reference a column name. Use grave accents (ASCII code 96) for quoting to match rest of the source code. It's non-standard SQL, but it's supported by SQLite and MySQL.

Signed-off-by: Filip Navara <navara@emclient.com>
Ethan Koenig aa962deec0 Replace deprecated Id method with ID ()
Sandro Santilli f73e734411 Run "make fmt" with go-1.6 ()
Sandro Santilli 9182a35f18 Show user OpenID URIs in their profile ()
Sandro Santilli 71d16f69ff Login via OpenID-2.0 ()