{"id":16095609,"url":"https://github.com/bashbunni/testing-go-rest-api","last_synced_at":"2025-07-26T22:04:42.808Z","repository":{"id":104871821,"uuid":"445394652","full_name":"bashbunni/testing-go-rest-api","owner":"bashbunni","description":"Practicing writing unit tests for a Go REST API","archived":false,"fork":false,"pushed_at":"2022-01-07T06:06:11.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T19:50:03.322Z","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/bashbunni.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":"2022-01-07T04:14:14.000Z","updated_at":"2024-06-27T19:39:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"75c9c284-c91c-4156-b0fc-0bbee1e5d9d4","html_url":"https://github.com/bashbunni/testing-go-rest-api","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"95e6d25b101398cb34d5612bbb4bb5ad81678eee"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashbunni%2Ftesting-go-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashbunni%2Ftesting-go-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashbunni%2Ftesting-go-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashbunni%2Ftesting-go-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bashbunni","download_url":"https://codeload.github.com/bashbunni/testing-go-rest-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247393573,"owners_count":20931813,"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-10-09T17:06:59.025Z","updated_at":"2025-04-05T20:14:15.905Z","avatar_url":"https://github.com/bashbunni.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About\n\nThis repo is for practicing writing unit tests for REST APIs in Go.\n\nI will pretend I'm doing API calls for an online chat as an example.\n\n## Endpoints\n\nGetAllMessages -\u003e `/messages` -\u003e GET all messages\\\nGetMessagesByUserID -\u003e `/messages/:id` -\u003e GET all messages for a given user\\\nNewMessage -\u003e `/messages` -\u003e POST new message\\\nDeleteMessage -\u003e `/messages/:id` -\u003e DELETE a message by ID\\\n\\\nGetAllUsers -\u003e `/users` -\u003e GET all users\\\nGetUserByID =\u003e `/users/:id` -\u003e GET user by ID\\\nEditUser -\u003e `/users/:id` -\u003e PUT update user information by ID\\\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbashbunni%2Ftesting-go-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbashbunni%2Ftesting-go-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbashbunni%2Ftesting-go-rest-api/lists"}