The fantastic ORM library for Golang, aims to be developer friendly
Go to file
Jinzhu 8b291cc32b Fix format log, close #752 2016-03-04 08:59:51 +08:00
.codeclimate.yml Add codeclimate 2015-08-22 08:46:46 +08:00
.gitignore Update README 2016-02-29 22:06:15 +08:00
CHANGELOG.md 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-02-29 22:06:15 +08:00
association.go Only update non blank fields that has been changed 2016-02-18 23:17:35 +08:00
association_test.go Merge branch 'master' into v1.0_dev 2016-01-16 11:40:08 +08:00
callback.go Reorder callbacks after append it 2016-02-15 17:22:29 +08:00
callback_create.go Support extra options for inserting, querying, deleting, updating SQL, close #721, #769 2016-02-15 19:36:48 +08:00
callback_delete.go Support extra options for inserting, querying, deleting, updating SQL, close #721, #769 2016-02-15 19:36:48 +08:00
callback_query.go Fix query with extra option 2016-02-15 19:42:49 +08:00
callback_query_preload.go Support custom preloading SQL, close #598, #793, #824 2016-02-15 21:29:47 +08:00
callback_save.go Keep refactoring callbacks 2016-01-17 16:28:32 +08:00
callback_test.go Rename Callbacks to Callback 2016-01-16 21:55:00 +08:00
callback_update.go Only update non blank fields that has been changed 2016-02-18 23:17:35 +08:00
callbacks_test.go update tests 2014-08-28 16:14:44 +08:00
create_test.go Port changes made in PR #652 2016-01-05 08:34:17 +08:00
customize_column_test.go Refactor dialect 2016-02-15 14:59:15 +08:00
ddl_errors_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 Refactor dialect 2016-02-15 14:59:15 +08:00
dialect_common.go Fix LimitAndOffset for Update 2016-02-15 17:00:28 +08:00
dialect_mssql.go Fix LimitAndOffset for Update 2016-02-15 17:00:28 +08:00
dialect_mysql.go Refactor dialect 2016-02-15 14:59:15 +08:00
dialect_postgres.go Refactor dialect 2016-02-15 14:59:15 +08:00
dialect_sqlite3.go Refactor dialect 2016-02-15 14:59:15 +08:00
embedded_struct_test.go Support Multi primary keys 2015-03-11 11:28:30 +08:00
errors.go Extract method Scan from rows 2016-01-13 16:53:11 +08:00
field.go Refactor create callback 2016-01-17 18:17:04 +08:00
field_test.go Include tag settings when clone a StructField 2016-01-08 09:02:01 +08:00
interface.go rename some files 2014-01-28 16:29:42 +08:00
join_table_handler.go Refactor getColumnAsArray 2016-01-15 22:55:37 +08:00
join_table_test.go Merge branch 'master' into v1.0_dev 2016-01-12 15:47:50 +08:00
logger.go Fix format log, close #752 2016-03-04 08:59:51 +08:00
main.go Only update non blank fields that has been changed 2016-02-18 23:17:35 +08:00
main_private.go Refactor dialect 2016-01-18 20:32:52 +08:00
main_test.go Test multiple Joins 2016-02-21 10:55:36 +08:00
migration_test.go Refactor dialect 2016-02-15 14:59:15 +08:00
model.go Add index for deleted_at 2015-09-18 10:28:09 +08:00
model_struct.go Refactor DataTypeOf for sqlite 2016-02-14 11:51:53 +08: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 Fix polymorphic test 2016-01-06 10:34:42 -05:00
preload_test.go Support custom preloading SQL, close #598, #793, #824 2016-02-15 21:29:47 +08:00
query_test.go Merge branch 'master' into v1.0_dev 2016-02-08 22:08:02 +08:00
scope.go Only update non blank fields that has been changed 2016-02-18 23:17:35 +08:00
scope_private.go Support decode to virtual attributes, close #798 2016-02-18 23:29:45 +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
scope_utils.go Add indirect method 2016-01-18 12:20:27 +08:00
search.go Joins support parameters, close #673 2016-02-16 22:48:26 +08:00
search_test.go Add SelectAttrs, OmitAttrs 2015-03-12 15:50:38 +08:00
slice_test.go add tests for scannable slice support 2015-02-09 09:42:07 +11:00
structs_test.go Fix #784 set mysql datetime's type to NOT NULL 2016-02-14 22:42:17 +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 Support decode to virtual attributes, close #798 2016-02-18 23:29:45 +08:00
utils.go Add CHANGELOG 2016-02-20 23:34:33 +08:00
utils_test.go Add CHANGELOG 2016-02-20 23:34:33 +08:00

README.md

GORM

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

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

Overview

  • Full-Featured ORM (almost)
  • Chainable API
  • Auto Migrations
  • Relations (Has One, Has Many, Belongs To, Many To Many, Polymorphism)
  • Callbacks (Before/After Create/Save/Update/Delete/Find)
  • Preloading (eager loading)
  • Transactions
  • Embed Anonymous Struct
  • Soft Deletes
  • Customizable Logger
  • Iteration Support via Rows
  • Every feature comes with tests
  • Developer Friendly

Getting Started

Upgrading To V1.0

  • CHANGELOG

Author

jinzhu

Contributors

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

License

Released under the MIT License.