{"id":13713380,"url":"https://github.com/digininja/gin_tutorial","last_synced_at":"2025-04-12T10:12:19.418Z","repository":{"id":146965797,"uuid":"348111297","full_name":"digininja/gin_tutorial","owner":"digininja","description":"Learning to build web apps in Gin. Don't expect anything new or ground breaking, I'm just following tutorials.","archived":false,"fork":false,"pushed_at":"2021-03-28T18:20:20.000Z","size":67,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-13T00:35:47.254Z","etag":null,"topics":["gin","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digininja.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}},"created_at":"2021-03-15T20:20:26.000Z","updated_at":"2024-02-08T05:22:59.000Z","dependencies_parsed_at":"2023-05-05T23:48:14.815Z","dependency_job_id":null,"html_url":"https://github.com/digininja/gin_tutorial","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/digininja%2Fgin_tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digininja%2Fgin_tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digininja%2Fgin_tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digininja%2Fgin_tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digininja","download_url":"https://codeload.github.com/digininja/gin_tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550632,"owners_count":21122934,"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":["gin","go","golang"],"created_at":"2024-08-02T23:01:34.320Z","updated_at":"2025-04-12T10:12:19.393Z","avatar_url":"https://github.com/digininja.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# Gin Tutorial\n\nFollowing [this tutorial](https://semaphoreci.com/community/tutorials/building-go-web-applications-and-microservices-using-gin).\n\nIt's [GitHub](https://github.com/demo-apps/go-gin-app) page.\n\nAnother one to look at. \u003chttps://blog.logrocket.com/how-to-build-a-rest-api-with-golang-using-gin-and-gorm/\u003e\n\n## Curl Commands\n\nGet the API version:\n\n```\ncurl -H \"Accept: application/json\" http://localhost:8080/api/ver\n```\n\nNow needs keys:\n\n```\ncurl -X POST --data \"apiKey=123\" -H \"apiKey: 123\" http://localhost:8080/api/ver -H \"Accept: application/json\"\n```\n\n## Submit and handle JSON\n\n```\ncurl -X POST http://localhost:8080/robin -H \"Accept: application/json\" -H \"Content-Type: application/json\" --data '{\"url\":\"test.com\"}'\n```\n\n## Testing\n\nTo test everything:\n\n```\ngo test -v\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigininja%2Fgin_tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigininja%2Fgin_tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigininja%2Fgin_tutorial/lists"}