The fantastic ORM library for Golang, aims to be developer friendly
Go
Latest commit 5050a58 Feb 12, 2017 @jinzhu committed on GitHub Merge pull request #1352 from DiSiqueira/small_changes
Fixing 4 typos in comments and gofmt -s in all files
Permalink
Failed to load latest commit information.
dialects Allow customize data type via ParseFieldStructForDialect Jan 15, 2017
.codeclimate.yml Add codeclimate Aug 22, 2015
.gitignore Update README Feb 29, 2016
CONTRIBUTING.md Update CONTRIBUTING.md executable script template Sep 20, 2016
License Add MIT License file Jan 5, 2015
README.md Add how to support this project to README Jan 2, 2017
association.go Fix Replace has one/many associations Oct 20, 2016
association_test.go Add tag to support skip nested save for associations Oct 27, 2016
callback.go Apply Before('gorm:row_query') for row query callbacks w/o specify or… Jan 16, 2017
callback_create.go Return error when creating with unaddressable record in postgres Nov 4, 2016
callback_delete.go Fix customize DeletedAt's column name Feb 1, 2017
callback_query.go Fix "Unsupported destination" error when value is pointer of pointer Feb 7, 2017
callback_query_preload.go Merge pull request #1199 from jugglinmike/empty-associations Oct 6, 2016
callback_row_query.go Query Row, Rows inside RowQuery callbacks Jan 15, 2017
callback_save.go Add tag to support skip nested save for associations Oct 27, 2016
callback_system_test.go Rename test files Mar 8, 2016
callback_update.go In some cases (Error not checked, missed data) one can perform very h… Nov 4, 2016
callbacks_test.go update tests Aug 28, 2014
create_test.go Fixing 4 typos in comments and gofmt -s in all files Feb 10, 2017
customize_column_test.go Fix null time not allowed in mysql5.7 test error Oct 19, 2016
delete_test.go Fix customize DeletedAt's column name Feb 1, 2017
dialect.go Allow customize data type via ParseFieldStructForDialect Jan 15, 2017
dialect_common.go Allow customize data type via ParseFieldStructForDialect Jan 15, 2017
dialect_mysql.go Allow customize data type via ParseFieldStructForDialect Jan 15, 2017
dialect_postgres.go Allow customize data type via ParseFieldStructForDialect Jan 15, 2017
dialect_sqlite3.go Allow customize data type via ParseFieldStructForDialect Jan 15, 2017
embedded_struct_test.go Fix primary key for embedded struct Jan 9, 2017
errors.go Make gorm.Errors available for use outside gorm Oct 25, 2016
errors_test.go Make gorm.Errors available for use outside gorm Oct 25, 2016
field.go Print warning message when using unaddressable value with Update Apr 4, 2016
field_test.go scope.Fields() return slice of *Field Mar 7, 2016
interface.go rename some files Jan 28, 2014
join_table_handler.go Refactor based on golint Mar 7, 2016
join_table_test.go Merge branch 'master' into v1.0_dev Jan 12, 2016
logger.go Refactor format log for postgres Feb 10, 2017
main.go Refactor Feb 5, 2017
main_test.go Fix "Unsupported destination" error when value is pointer of pointer Feb 7, 2017
migration_test.go Fix customize DeletedAt's column name Feb 1, 2017
model.go Rename test files Mar 8, 2016
model_struct.go Fix set Scanner's data type Feb 6, 2017
multi_primary_keys_test.go Fix some go vet/lint reports Jan 15, 2016
pointer_test.go Fix some go vet/lint reports Jan 15, 2016
polymorphic_test.go Refactor named value support for PolymorphicType Oct 6, 2016
preload_test.go Skip order sql when quering with distinct Dec 1, 2016
query_test.go Fix "Unsupported destination" error when value is pointer of pointer Feb 7, 2017
scaner_test.go Fix set Scanner's data type Feb 6, 2017
scope.go Fix customize DeletedAt's column name Feb 1, 2017
scope_test.go Add support for signed and unsigned integer types as primary key type Nov 12, 2014
search.go Skip order sql when quering with distinct Dec 1, 2016
search_test.go Add SelectAttrs, OmitAttrs Mar 12, 2015
test_all.sh Remove foundationdb from tests all script because it is not downloada… Apr 17, 2015
update_test.go Fixing 4 typos in comments and gofmt -s in all files Feb 10, 2017
utils.go Fixing 4 typos in comments and gofmt -s in all files Feb 10, 2017
utils_test.go Add CHANGELOG Feb 20, 2016
wercker.yml Add wercker.yml with postgres and mysql tests May 21, 2016

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

Supporting the project

http://patreon.com/jinzhu

Author

jinzhu

Contributors

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

License

Released under the MIT License.