{"id":45505630,"url":"https://github.com/mrsametburgazoglu/enterprise","last_synced_at":"2026-06-07T00:01:35.364Z","repository":{"id":254720757,"uuid":"815843718","full_name":"MrSametBurgazoglu/enterprise","owner":"MrSametBurgazoglu","description":"New ORM for Golang Postgresql","archived":false,"fork":false,"pushed_at":"2026-06-01T19:40:09.000Z","size":113,"stargazers_count":17,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-01T20:27:16.765Z","etag":null,"topics":["go","golang","orm","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrSametBurgazoglu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-16T10:41:26.000Z","updated_at":"2026-06-01T19:39:46.000Z","dependencies_parsed_at":"2024-09-06T21:47:11.292Z","dependency_job_id":"efee2971-a458-479b-beb6-15df32327dec","html_url":"https://github.com/MrSametBurgazoglu/enterprise","commit_stats":null,"previous_names":["mrsametburgazoglu/enterprise"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/MrSametBurgazoglu/enterprise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrSametBurgazoglu%2Fenterprise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrSametBurgazoglu%2Fenterprise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrSametBurgazoglu%2Fenterprise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrSametBurgazoglu%2Fenterprise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrSametBurgazoglu","download_url":"https://codeload.github.com/MrSametBurgazoglu/enterprise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrSametBurgazoglu%2Fenterprise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34003814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","orm","postgresql"],"created_at":"2026-02-22T18:47:18.860Z","updated_at":"2026-06-07T00:01:35.334Z","avatar_url":"https://github.com/MrSametBurgazoglu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# enterprise\nAtılgan aka Enterprise is a new ORM for postgresql databases. For speed and lightness.\n\n## Features\n- A small number of auto generated database model structs and methods\n- Create, Get, Update, Delete and List functions on table\n- It can load Relation tables and filter them with single query\n- Developer friendly helper methods on models\n- Simple aggregate functionality\n- Simple transaction commit and rollback\n- Customizable hooks\n- Atlas migrations\n- Unique Relation system\n- Fastest ORM in golang for postgresql\n\n\n## Generating Models\nFirst create a package. Create one file for every table. The function name and file name should match.\nAfter write your models. We recommend to create a new package with name generate and put a generate.go for generating models you want.\nIt will go to create a models package and write files in to it. For examples [Enterprise Example](https://github.com/MrSametBurgazoglu/enterprise_example).\n\n### Migration\nFor migration we recommend to create a migrate named package and put this script into it.\nExecute the script and it will create a directory called migrations and write raw sql for migration.\nFurther questions please look to Atlas.\n\n### RoadMap\n\nVersion 1.0.0 Roadmap\n\nV0.1.0-alpha\n\n- [x] Add simple unit tests\n- [x] Hook system functions to every model db operation.\n- [x] Pk and fk on migration table\n\nV0.1.0\n- [x] Add bulk Insert\n\nV0.2.0\n- [x] Choose Join Type\n\nV0.3.0\n- [x] Json field\n- [x] []byte field\n\nV0.4.0\n- [x] Use different clients on Read and Write db operations\n\nV0.5.0\n- [x] Custom go type on DB\n\nV0.6.0\n- [x] Nested Transactions, Save Point, RollbackTo to Saved Point\n\nV0.7.0\n- [x] Index and Composite Index\n\nV0.8.0\n- [x] Nice and beautiful Debug Mode with logger\n\nV0.9.0\n- [ ] Customizable helper functions\n- [ ] %100 covered unit tests\n- [ ] Fully Documentation\n- [ ] Github Actions\n- [ ] Add, Update and Delete Constraints\n\nV1.0.0\n\n\n### Benchmark Results\n````text\ngoos: linux\ngoarch: amd64\npkg: github.com/FournyP/go-orm-benchmarks/benchmarks\ncpu: 12th Gen Intel(R) Core(TM) i7-1255U\n\nBenchmarkEntCreate-4                                 105          11393218 ns/op            7571 B/op        218 allocs/op\nBenchmarkEnterpriseCreate-4                          175           6458168 ns/op            9264 B/op        193 allocs/op\nBenchmarkGORMCreate-4                                138           8334585 ns/op           22754 B/op        334 allocs/op\nBenchmarkSqlxCreate-4                                139           8516631 ns/op            3088 B/op         87 allocs/op\n\nBenchmarkEntUpdate-4                                 100          10051190 ns/op            5302 B/op        137 allocs/op\nBenchmarkEnterpriseUpdate-4                          507           2359239 ns/op            1652 B/op         39 allocs/op\nBenchmarkGORMUpdate-4                                468           2712004 ns/op            6657 B/op         86 allocs/op\nBenchmarkSqlxUpdate-4                                502           2518410 ns/op             535 B/op         16 allocs/op\n\nBenchmarkEntDelete-4                                 367           2897743 ns/op            1904 B/op         45 allocs/op\nBenchmarkEnterpriseDelete-4                          513           2089324 ns/op            1157 B/op         21 allocs/op\nBenchmarkGORMDelete-4                                492           3073590 ns/op            5634 B/op         85 allocs/op\nBenchmarkSqlxDelete-4                                513           2385171 ns/op             304 B/op          9 allocs/op\n\nBenchmarkEntRead-4                                  1107           1179827 ns/op            3744 B/op         93 allocs/op\nBenchmarkEnterpriseRead-4                           2575            428796 ns/op            3005 B/op         73 allocs/op\nBenchmarkGORMRead-4                                 2296            519182 ns/op            5406 B/op         94 allocs/op\nBenchmarkSqlxRead-4                                 1273            943025 ns/op            1200 B/op         32 allocs/op\n\nBenchmarkEntReadWithRelations-4                      424           3185571 ns/op           11888 B/op        295 allocs/op\nBenchmarkEnterpriseReadWithRelations-4              2185            544165 ns/op           10781 B/op        219 allocs/op\nBenchmarkGORMReadWithRelations-4                     692           2137871 ns/op           34967 B/op        372 allocs/op\nBenchmarkSqlxReadWithRelations-4                     456           2687558 ns/op            3856 B/op        105 allocs/op\n\nBenchmarkEntReadSingleField-4                       1153            973295 ns/op            2776 B/op         73 allocs/op\nBenchmarkEnterpriseReadSingleField-4                2908            494583 ns/op            2686 B/op         62 allocs/op\nBenchmarkGormReadSingleField-4                      2036            515719 ns/op            4738 B/op         73 allocs/op\nBenchmarkSqlxReadSingleField-4                      1242           1015917 ns/op             792 B/op         22 allocs/op\n````\n\nFor documentation visit https://mrsametburgazoglu.github.io/enterprise_docs/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsametburgazoglu%2Fenterprise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrsametburgazoglu%2Fenterprise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsametburgazoglu%2Fenterprise/lists"}