{"id":36662047,"url":"https://github.com/michaelcoll/sqlc-addon","last_synced_at":"2026-01-12T10:29:36.017Z","repository":{"id":163529393,"uuid":"637980021","full_name":"michaelcoll/sqlc-addon","owner":"michaelcoll","description":"A sqlc addon CLI that adds more code","archived":false,"fork":false,"pushed_at":"2025-12-04T06:06:59.000Z","size":130,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-07T12:41:23.820Z","etag":null,"topics":["golang","sqlc"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelcoll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"michaelcoll"}},"created_at":"2023-05-08T20:31:01.000Z","updated_at":"2025-12-04T06:07:03.000Z","dependencies_parsed_at":"2023-11-06T07:26:30.645Z","dependency_job_id":"611f1570-0ebe-49db-9889-dc8d10985ed8","html_url":"https://github.com/michaelcoll/sqlc-addon","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/michaelcoll/sqlc-addon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcoll%2Fsqlc-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcoll%2Fsqlc-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcoll%2Fsqlc-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcoll%2Fsqlc-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelcoll","download_url":"https://codeload.github.com/michaelcoll/sqlc-addon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelcoll%2Fsqlc-addon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["golang","sqlc"],"created_at":"2026-01-12T10:29:35.349Z","updated_at":"2026-01-12T10:29:36.012Z","avatar_url":"https://github.com/michaelcoll.png","language":"Go","funding_links":["https://github.com/sponsors/michaelcoll"],"categories":[],"sub_categories":[],"readme":"# sqlc-addon\nA sqlc addon CLI that adds more code\n\n## Supported Database\n- SQLite\n\n## What's done ?\nThis CLI will generate two new files :\n- `connect.go` used to connect to the database\n- `migration.go` used to initialize the database using the schema request that sqlc use\n\n## How to install ?\n\n```shell\ngo install github.com/michaelcoll/sqlc-addon@latest\n```\n\n## How to use ?\nPlace a new config file called `sqlc-addon.yaml` next to the sqlc config file.\n\nThe file should look like this\n```yaml\nversion: \"1\"\naddon_out: \"internal/back/infrastructure/db\"\ndatabase_name: \"data.db\"\n```\n\nCall the command in the same folder as the file `sqlc-addon.yaml` :\n```shell\nsqlc-addon generate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelcoll%2Fsqlc-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelcoll%2Fsqlc-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelcoll%2Fsqlc-addon/lists"}