{"id":18291260,"url":"https://github.com/ammorteza/go-debug","last_synced_at":"2026-05-06T19:04:58.097Z","repository":{"id":73034624,"uuid":"305079772","full_name":"ammorteza/go-debug","owner":"ammorteza","description":"Debugging golang code on docker container with VSCode (Delve)","archived":false,"fork":false,"pushed_at":"2020-10-18T11:32:35.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T02:15:30.714Z","etag":null,"topics":["debugging","delve","docker","docker-compose","gin","golang","vscode"],"latest_commit_sha":null,"homepage":"","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/ammorteza.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,"publiccode":null,"codemeta":null}},"created_at":"2020-10-18T10:52:11.000Z","updated_at":"2021-12-30T08:04:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe83cf1f-3616-4aff-9872-223983491332","html_url":"https://github.com/ammorteza/go-debug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammorteza%2Fgo-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammorteza%2Fgo-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammorteza%2Fgo-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammorteza%2Fgo-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ammorteza","download_url":"https://codeload.github.com/ammorteza/go-debug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999840,"owners_count":21031044,"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":["debugging","delve","docker","docker-compose","gin","golang","vscode"],"created_at":"2024-11-05T14:13:44.269Z","updated_at":"2026-05-06T19:04:53.057Z","avatar_url":"https://github.com/ammorteza.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-debug\nDebugging golang code on docker container with VSCode (delve)\n\n## Requirements\n- [Docker](https://docs.docker.com/get-docker/)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n\n## Instalation\n### Clone\nCloning go-debug repository.\n```shell\nclone https://github.com/ammorteza/go-debug.git\n```\n\n### Configure debugging with VSCode\n```json\n{\n    \"version\": \"0.2.0\",\n    \"configurations\": [\n        {\n            \"name\": \"Launch\",\n            \"type\": \"go\",\n            \"request\": \"attach\",\n            \"mode\": \"remote\",\n            \"remotePath\": \"/app\",\n            \"port\": 2345,\n            \"showLog\": true,\n            \"trace\": \"verbose\"\n          }\n    ]\n}\n```\n\n### Build\nBuild and run go-debug services with Docker Compose.\n```shell \ndocker-compose up\n```\nAfter running `docker compose up`, make sure all containers run correctly.\n\n## Running\n### API Endpoint\nSend request in development mode.\n\u003e http://localhost:8090/rest/user\n```json\n{\n\t\"user\" : \"Morteza Amzajerdi\"\n}\n```\n\n\nSend request in debugging mode.\n\u003e http://localhost:9999/rest/user\n```json\n{\n\t\"user\" : \"Morteza Amzajerdi\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammorteza%2Fgo-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fammorteza%2Fgo-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammorteza%2Fgo-debug/lists"}