{"id":23582642,"url":"https://github.com/anucha-tk/gobank","last_synced_at":"2025-11-02T19:30:22.801Z","repository":{"id":231891569,"uuid":"782387099","full_name":"anucha-tk/gobank","owner":"anucha-tk","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-06T15:10:14.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T01:12:22.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anucha-tk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-04-05T07:46:08.000Z","updated_at":"2024-04-06T15:10:17.000Z","dependencies_parsed_at":"2024-04-06T16:24:46.193Z","dependency_job_id":"6c6669d7-7491-4684-a07a-0b9588623d7f","html_url":"https://github.com/anucha-tk/gobank","commit_stats":null,"previous_names":["anucha-tk/gobank"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anucha-tk%2Fgobank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anucha-tk%2Fgobank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anucha-tk%2Fgobank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anucha-tk%2Fgobank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anucha-tk","download_url":"https://codeload.github.com/anucha-tk/gobank/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239399807,"owners_count":19632022,"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":[],"created_at":"2024-12-27T01:12:24.263Z","updated_at":"2025-11-02T19:30:22.601Z","avatar_url":"https://github.com/anucha-tk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GOBANK\n\n\u003c!--toc:start--\u003e\n\n- [GOBANK](#gobank)\n  - [tech and tools](#tech-and-tools)\n  - [migrate](#migrate)\n    - [up](#up)\n    - [down](#down)\n  - [sqlc](#sqlc)\n    - [init](#init)\n  - [testing](#testing)\n  \u003c!--toc:end--\u003e\n\n## tech and tools\n\n- golang\n- database\n  - postgresql\n- SQL Query Builders\n  - [slqc](https://github.com/sqlc-dev/sqlc)\n- Database Schema Migration\n  - [migrate](https://github.com/golang-migrate/migrate)\n\n## migrate\n\n```bash\n migrate create -ext sql -dir db/migration -seq init_schema\n```\n\n### up\n\n```bash\n❯ migrate -path db/migration -database \"postgresql://\u003cuser\u003e:\u003cuser_password\u003e@localhost:5432/\u003cdb_name\u003e?sslmode=disable\" --verbose up\n```\n\n### down\n\n```bash\n❯ migrate -path db/migration -database \"postgresql://\u003cuser\u003e:\u003cuser_password\u003e@localhost:5432/\u003cdb_name\u003e?sslmode=disable\" --verbose down\n```\n\n## sqlc\n\n### init\n\n```bash\nsqlc init\n```\n\n## testing\n\n\u003e we use testify\n\n```bash\n# default cache\ngo test -v ./...\n# not cache\ngo test -v -count=1 ./...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanucha-tk%2Fgobank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanucha-tk%2Fgobank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanucha-tk%2Fgobank/lists"}