Format document

This commit is contained in:
Jinzhu 2014-01-29 19:20:06 +08:00
parent 91e937bac1
commit 829158ed2f
1 changed files with 3 additions and 0 deletions

View File

@ -58,8 +58,11 @@ There are four kinds of callbacks corresponds to sql's CURD: create callbacks, u
Gorm is powered by callbacks, so you could refer below links to learn how to write callbacks
[Create callbacks](https://github.com/jinzhu/gorm/blob/master/callback_create.go)
[Update callbacks](https://github.com/jinzhu/gorm/blob/master/callback_update.go)
[Query callbacks](https://github.com/jinzhu/gorm/blob/master/callback_create.go)
[Delete callbacks](https://github.com/jinzhu/gorm/blob/master/callback_delete.go)
View [https://github.com/jinzhu/gorm/blob/master/scope.go](https://github.com/jinzhu/gorm/blob/master/scope.go) for all available API