{"id":26633717,"url":"https://github.com/mhkarimi1383/goapibaseproject","last_synced_at":"2026-03-13T12:33:46.009Z","repository":{"id":57707737,"uuid":"469466931","full_name":"mhkarimi1383/goAPIBaseProject","owner":"mhkarimi1383","description":"simple api project written in go","archived":false,"fork":false,"pushed_at":"2023-06-19T19:11:22.000Z","size":10363,"stargazers_count":14,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T15:16:02.207Z","etag":null,"topics":["api","go","golang","http","http-server","log","logger","logging","logstash","mux","mux-router","sentry","websocket","websocket-server"],"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/mhkarimi1383.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":"2022-03-13T19:02:01.000Z","updated_at":"2023-06-03T00:44:41.000Z","dependencies_parsed_at":"2024-06-19T14:33:58.352Z","dependency_job_id":"e381afb5-009d-40e4-84e2-8496e6c24b77","html_url":"https://github.com/mhkarimi1383/goAPIBaseProject","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/mhkarimi1383%2FgoAPIBaseProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhkarimi1383%2FgoAPIBaseProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhkarimi1383%2FgoAPIBaseProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhkarimi1383%2FgoAPIBaseProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhkarimi1383","download_url":"https://codeload.github.com/mhkarimi1383/goAPIBaseProject/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262043,"owners_count":21074238,"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":["api","go","golang","http","http-server","log","logger","logging","logstash","mux","mux-router","sentry","websocket","websocket-server"],"created_at":"2025-03-24T15:16:10.005Z","updated_at":"2026-03-13T12:33:45.948Z","avatar_url":"https://github.com/mhkarimi1383.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Simple API Project\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/mhkarimi1383/goAPIBaseProject.svg)](https://pkg.go.dev/github.com/mhkarimi1383/goAPIBaseProject)\n[![Go Report Card](https://goreportcard.com/badge/github.com/mhkarimi1383/goAPIBaseProject)](https://goreportcard.com/report/github.com/mhkarimi1383/goAPIBaseProject)\n\nThis project made to combine some pretty beautiful thing together\n\n## This project is using\n\n* `net/http` as http server\n* [gorilla/mux](https://github.com/gorilla/mux) as router\n* Sentry as APM\n* [sirupsen/logrus](https://github.com/sirupsen/logrus) as base of logging\n* [ilyakaznacheev/cleanenv](https://github.com/ilyakaznacheev/cleanenv) for managing configurations\n* [slok/go-http-metrics](https://github.com/slok/go-http-metrics) as middleware for exporting prometheus metrics\n* [rs/cors](https://github.com/rs/cors) as middleware for CORS\n* [mvrilo/go-redoc](https://github.com/mvrilo/go-redoc) for redoc view\n* [rapi-doc/RapiDoc](https://github.com/rapi-doc/RapiDoc) for RapiDoc view instead of swagger\n* [go-playground/validator](github.com/go-playground/validator) as base of validation\n\n## Project files structure\n\n* `logger`: package for logging on top of [sirupsen/logrus](https://github.com/sirupsen/logrus) with option to sent logs to Sentry\n* `httpHandlers`: all of the http handlers should be here\n* `httpServer`: http server components are here ready to use\n* `type`: every type that we want every where should be here\n* `configuration`: on top of [ilyakaznacheev/cleanenv](https://github.com/ilyakaznacheev/cleanenv) this will manage our configurations with a simple function that returns a variable with Configuration struct\n* `air`: executable version of [cosmtrek/air](https://github.com/cosmtrek/air) is here to help you with live reloading you code (configuration for that is present here)\n* `validator`: package for validating our things\n\n## TODO\n\n\u003e Moved to [GitHub Project](https://github.com/users/mhkarimi1383/projects/1/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhkarimi1383%2Fgoapibaseproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhkarimi1383%2Fgoapibaseproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhkarimi1383%2Fgoapibaseproject/lists"}