The fantastic ORM library for Golang, aims to be developer friendly
Go to file
Jinzhu 613c065569 Merge branch 'RichardKnop-feature/fix-preload-duplicates' 2016-07-10 21:34:49 +08:00
dialects Use validated interface{} for limit/offset values to ensure values greater than 2016-06-23 06:29:51 -07:00
.codeclimate.yml Add codeclimate 2015-08-22 08:46:46 +08:00
.gitignore Update README 2016-02-29 22:06:15 +08:00
CONTRIBUTING.md Add CONTRIBUTING.md 2015-11-16 10:57:12 +08:00
License Add MIT License file 2015-01-05 08:59:18 +08:00
README.md Update README 2016-05-04 21:13:24 +08:00
association.go association: dont execute Append/Replace/Delete if Error already present 2016-05-06 14:10:43 +02:00
association_test.go fix panic in AddForeignKey on mysql dialect 2016-05-22 09:58:37 +02:00
callback.go Fix GORM with Go 1.4 #892 2016-03-09 20:44:31 +08:00
callback_create.go Fix get default value from blank primary field 2016-06-02 11:06:44 +08:00
callback_delete.go Set identity insert on after create transaction, close #841 2016-03-05 19:22:33 +08:00
callback_query.go Fix scan columns with same name 2016-03-10 17:13:48 +08:00
callback_query_preload.go Include model value when preloading many2many relations to enable row query callbacks 2016-06-17 18:18:46 +08:00
callback_save.go Rename test files 2016-03-08 22:00:15 +08:00
callback_system_test.go Rename test files 2016-03-08 22:00:15 +08:00
callback_update.go Refactor Scope updatedAttrsWithValues 2016-03-09 16:45:53 +08:00
callbacks_test.go update tests 2014-08-28 16:14:44 +08:00
create_test.go Test AUTO_INCREMENT only on postgres 2016-06-20 16:00:38 +02:00
customize_column_test.go Refactor dialect 2016-02-15 14:59:15 +08:00
delete_test.go DeletedAt's type has to been *time.Time 2016-01-10 21:38:10 +08:00
dialect.go Use validated interface{} for limit/offset values to ensure values greater than 2016-06-23 06:29:51 -07:00
dialect_common.go Use validated interface{} for limit/offset values to ensure values greater than 2016-06-23 06:29:51 -07:00
dialect_mysql.go Test AUTO_INCREMENT only on postgres 2016-06-20 16:00:38 +02:00
dialect_postgres.go Merge pull request #959 from vibhavp/master 2016-05-04 21:22:04 +08:00
dialect_sqlite3.go Set AUTO_INCREMENT if field is an auto increment field 2016-05-04 10:37:31 +08:00
embedded_struct_test.go Support Multi primary keys 2015-03-11 11:28:30 +08:00
errors.go Print warning message when using unaddressable value with Update 2016-04-04 21:33:11 +08:00
field.go Print warning message when using unaddressable value with Update 2016-04-04 21:33:11 +08:00
field_test.go scope.Fields() return slice of *Field 2016-03-07 14:25:41 +08:00
interface.go rename some files 2014-01-28 16:29:42 +08:00
join_table_handler.go Refactor based on golint 2016-03-07 17:49:55 +08:00
join_table_test.go Merge branch 'master' into v1.0_dev 2016-01-12 15:47:50 +08:00
logger.go Export LogWriter interface 2016-03-10 17:38:52 +08:00
main.go Add ORDER BY sql expression support 2016-06-28 11:15:42 +08:00
main_test.go Merge pull request #1028 from nkovacs/wercker 2016-06-16 18:29:11 +08:00
migration_test.go Fix auto_increment on postgres database. 2016-06-20 15:00:19 +02:00
model.go Rename test files 2016-03-08 22:00:15 +08:00
model_struct.go Fix auto_increment on postgres database. 2016-06-20 15:00:19 +02:00
multi_primary_keys_test.go Fix some go vet/lint reports 2016-01-15 21:16:48 +08:00
pointer_test.go Fix some go vet/lint reports 2016-01-15 21:16:48 +08:00
polymorphic_test.go Refactor 2016-03-08 22:29:58 +08:00
preload_test.go Fix preload duplicates has many related objects 2016-07-10 21:34:37 +08:00
query_test.go Add ORDER BY sql expression support 2016-06-28 11:15:42 +08:00
scaner_test.go Fix broken tests for postgres 2016-06-24 07:48:03 +08:00
scope.go Fix preload duplicates has many related objects 2016-07-10 21:34:37 +08:00
scope_test.go Add support for signed and unsigned integer types as primary key type 2014-10-22 17:33:13 +02:00
search.go Add ORDER BY sql expression support 2016-06-28 11:15:42 +08:00
search_test.go Add SelectAttrs, OmitAttrs 2015-03-12 15:50:38 +08:00
test_all.sh Remove foundationdb from tests all script because it is not downloadable from offical site 2015-04-17 14:52:59 +08:00
update_test.go Refactor Scope updatedAttrsWithValues 2016-03-09 16:45:53 +08:00
utils.go Fix GORM with Go 1.4 #892 2016-03-09 20:44:31 +08:00
utils_test.go Add CHANGELOG 2016-02-20 23:34:33 +08:00
wercker.yml Add wercker.yml with postgres and mysql tests 2016-05-22 01:59:25 +02:00

README.md

GORM

The fantastic ORM library for Golang, aims to be developer friendly.

Join the chat at https://gitter.im/jinzhu/gorm wercker status GoDoc

Overview

  • Full-Featured ORM (almost)
  • Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
  • Callbacks (Before/After Create/Save/Update/Delete/Find)
  • Preloading (eager loading)
  • Transactions
  • Composite Primary Key
  • SQL Builder
  • Auto Migrations
  • Logger
  • Extendable, write Plugins based on GORM callbacks
  • Every feature comes with tests
  • Developer Friendly

Getting Started

Upgrading To V1.0

Author

jinzhu

Contributors

https://github.com/jinzhu/gorm/graphs/contributors

License

Released under the MIT License.