{"id":13413680,"url":"https://github.com/gobuffalo/pop","last_synced_at":"2025-05-14T02:04:13.891Z","repository":{"id":37396771,"uuid":"120672428","full_name":"gobuffalo/pop","owner":"gobuffalo","description":"A Tasty Treat For All Your Database Needs","archived":false,"fork":false,"pushed_at":"2024-06-26T20:32:44.000Z","size":5723,"stargazers_count":1479,"open_issues_count":94,"forks_count":248,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-04-09T02:11:53.250Z","etag":null,"topics":["cockroachdb","database","gobuffalo","migrations","mysql","orm","postgresql","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gobuffalo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["markbates","stanislas-m"],"patreon":"buffalo"}},"created_at":"2018-02-07T21:13:46.000Z","updated_at":"2025-04-07T17:54:00.000Z","dependencies_parsed_at":"2023-02-15T21:15:31.876Z","dependency_job_id":"81ddf326-98ec-45ba-a75e-00423e099b8f","html_url":"https://github.com/gobuffalo/pop","commit_stats":{"total_commits":1286,"total_committers":117,"mean_commits":"10.991452991452991","dds":0.6073094867807154,"last_synced_commit":"c85387acc9a0c2edb5c6a669618eefde86cfd085"},"previous_names":[],"tags_count":236,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobuffalo%2Fpop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobuffalo%2Fpop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobuffalo%2Fpop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobuffalo%2Fpop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gobuffalo","download_url":"https://codeload.github.com/gobuffalo/pop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254052667,"owners_count":22006716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cockroachdb","database","gobuffalo","migrations","mysql","orm","postgresql","sqlite"],"created_at":"2024-07-30T20:01:46.290Z","updated_at":"2025-05-14T02:04:13.870Z","avatar_url":"https://github.com/gobuffalo.png","language":"Go","readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"logo.png\" width=\"150\" height=\"150\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://pkg.go.dev/github.com/gobuffalo/pop/v6\"\u003e\u003cimg src=\"https://godoc.org/github.com/gobuffalo/pop?status.svg\" alt=\"GoDoc\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/gobuffalo/pop/actions?query=workflow%3ATests+branch%3Amain\"\u003e\u003cimg src=\"https://github.com/gobuffalo/pop/workflows/Tests/badge.svg\" alt=\"Build Status\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# POP\n\n## A Tasty Treat For All Your Database Needs\n\nSo what does Pop do exactly? Well, it wraps the absolutely amazing [https://github.com/jmoiron/sqlx](https://github.com/jmoiron/sqlx) library. It cleans up some of the common patterns and work flows usually associated with dealing with databases in Go.\n\nPop makes it easy to do CRUD operations, run migrations, and build/execute queries.\n\nPop, by default, follows conventions that were influenced by the [ActiveRecord](http://www.rubyonrails.org) Ruby gem. What does this mean?\n\n* Tables must have an \"id\" column and a corresponding \"ID\" field on the `struct` being used.\n* If there is a `timestamp` column named `created_at`, and a `CreatedAt time.Time` attribute on the `struct`, it will be set with the current time when the record is created.\n* If there is a `timestamp` column named `updated_at`, and a `UpdatedAt time.Time` attribute on the `struct`, it will be set with the current time when the record is updated.\n* Default database table names are lowercase, plural, and underscored versions of the `struct` name. Examples: User{} is \"users\", FooBar{} is \"foo_bars\", etc...\n\nWant to know more? Take a look at the documentation!\n\n## Documentation\n\nPlease visit [http://gobuffalo.io](https://gobuffalo.io/docs/db/getting-started) for the latest documentation, examples, and more.\n\n### Quick Start\n* [CLI Installation](https://gobuffalo.io/docs/db/toolbox)\n* [Configuration](https://gobuffalo.io/docs/db/configuration)\n\n## Shoulders of Giants\n\nPop would not be possible if not for all of the great projects it depends on. Please see [SHOULDERS.md](SHOULDERS.md) to see a list of them.\n\n## Contributing\n\nFirst, thank you so much for wanting to contribute! It means so much that you care enough to want to contribute. We appreciate every PR from the smallest of typos to the be biggest of features.\n\nTo contribute, please read the contribution guidelines: [CONTRIBUTING](.github/CONTRIBUTING.md)\n","funding_links":["https://github.com/sponsors/markbates","https://github.com/sponsors/stanislas-m","https://patreon.com/buffalo"],"categories":["ORM","开源类库","Open source library","Go","网络相关库","Relational Databases"],"sub_categories":["HTTP Clients","数据库","HTTP客户端","Database","ORM","交流","OpenGL"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobuffalo%2Fpop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgobuffalo%2Fpop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobuffalo%2Fpop/lists"}