{"id":27938532,"url":"https://github.com/willowtreeapps/go-hello-world","last_synced_at":"2025-05-07T08:49:02.821Z","repository":{"id":288450968,"uuid":"968146995","full_name":"willowtreeapps/go-hello-world","owner":"willowtreeapps","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-17T16:41:29.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T06:18:35.080Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willowtreeapps.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}},"created_at":"2025-04-17T15:29:02.000Z","updated_at":"2025-04-17T16:41:33.000Z","dependencies_parsed_at":"2025-04-18T06:18:40.395Z","dependency_job_id":"718926df-0687-4cf5-9a78-a3a847f3ccd0","html_url":"https://github.com/willowtreeapps/go-hello-world","commit_stats":null,"previous_names":["willowtreeapps/go-hello-world"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willowtreeapps%2Fgo-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willowtreeapps%2Fgo-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willowtreeapps%2Fgo-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willowtreeapps%2Fgo-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willowtreeapps","download_url":"https://codeload.github.com/willowtreeapps/go-hello-world/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252847215,"owners_count":21813436,"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":"2025-05-07T08:49:02.266Z","updated_at":"2025-05-07T08:49:02.805Z","avatar_url":"https://github.com/willowtreeapps.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Task Manager API with Swagger Documentation\n\nA simple task management API built with Go (Golang) that demonstrates how to create a RESTful service with auto-generated Swagger/OpenAPI documentation.\n\n## Features\n\n- RESTful API endpoints for task management\n- Auto-generated Swagger documentation\n\n## Prerequisites\n\n- Go 1.21 or higher\n- Git\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone \u003cyour-repo-url\u003e\n   cd go-hello-world\n\n   ```\n\n2. Install dependencies:\n\n   ```bash\n\n   go mod download\n   ```\n\n## Running the Application\n\nStart the server:\n\n```bash\ngo run main.go\n```\n\nThe server will start at `http://localhost:8080`\n\n## API Documentation\n\nSwagger UI is available at: `http://localhost:8080/swagger/index.html`\n\n### Available Endpoints\n\n- `GET /api/v1/tasks` - List all tasks\n- `GET /api/v1/tasks/{id}` - Get a specific task\n- `POST /api/v1/tasks/{id}/complete` - Mark a task as complete\n\n## Running Tests\n\n```bash\ngo test -v\n```\n\n## Project Structure\n\n- `main.go` - Main application file with API handlers and task definitions\n- `main_test.go` - API endpoint tests\n- `docs/` - Auto-generated Swagger documentation\n- `go.mod` - Go module definition and dependencies\n\n## Development\n\nTo regenerate Swagger documentation after making API changes:\n\n```bash\nswag init\n```\n\n## Purpose\n\nThis project serves as a demonstration of:\n\n1. Building a RESTful API in Go\n2. Implementing Swagger documentation using swag\n3. Writing testable Go code\n4. Using the Gin web framework\n5. Proper project structure and organization\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillowtreeapps%2Fgo-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillowtreeapps%2Fgo-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillowtreeapps%2Fgo-hello-world/lists"}