{"id":16516221,"url":"https://github.com/aphistic/negroni-gomol","last_synced_at":"2025-10-12T20:34:58.979Z","repository":{"id":136843626,"uuid":"69703065","full_name":"aphistic/negroni-gomol","owner":"aphistic","description":"Negroni middleware to log with the Gomol log library.","archived":false,"fork":false,"pushed_at":"2017-02-08T15:28:31.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-12T20:34:58.626Z","etag":null,"topics":["gomol","negroni"],"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/aphistic.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":"2016-09-30T21:21:25.000Z","updated_at":"2017-02-06T23:25:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"49bb32a6-20b0-40ed-bb1e-f1c3efce8f7a","html_url":"https://github.com/aphistic/negroni-gomol","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aphistic/negroni-gomol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphistic%2Fnegroni-gomol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphistic%2Fnegroni-gomol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphistic%2Fnegroni-gomol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphistic%2Fnegroni-gomol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aphistic","download_url":"https://codeload.github.com/aphistic/negroni-gomol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aphistic%2Fnegroni-gomol/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012800,"owners_count":26085187,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gomol","negroni"],"created_at":"2024-10-11T16:20:06.752Z","updated_at":"2025-10-12T20:34:58.939Z","avatar_url":"https://github.com/aphistic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"negroni-gomol\n=============\n\n[![GoDoc](https://godoc.org/github.com/aphistic/negroni-gomol?status.svg)](https://godoc.org/github.com/aphistic/negroni-gomol)\n[![Build Status](https://img.shields.io/travis/aphistic/negroni-gomol.svg)](https://travis-ci.org/aphistic/negroni-gomol)\n[![Code Coverage](https://img.shields.io/codecov/c/github/aphistic/negroni-gomol.svg)](http://codecov.io/github/aphistic/negroni-gomol?branch=master)\n\nNegroni middleware to log with the Gomol log library.\n\nUsage\n-----\nOnce gomol is initialized as you'd normally do (see the\n[gomol](https://www.github.com/aphistic/gomol) documentation) you can\ncreate the logging middleware for Negroni in one of two ways.\n\nThe first way is to just use the current default gomol logger, like so:\n```\nimport ng \"github.com/aphistic/negroni-gomol\"\n\n...\n\nn := negroni.New()\nn.Use(ng.NewLogger())\n```\n\nIf you have a different gomol Base logger you'd like to use instead, you can\nalso use it in this way:\n```\nimport ng \"github.com/aphistic/negroni-gomol\"\n\n...\n\nbase := gomol.NewBase()\n\n...\n\nn := negroni.New()\nn.Use(ng.NewLoggerForBase(base))\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faphistic%2Fnegroni-gomol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faphistic%2Fnegroni-gomol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faphistic%2Fnegroni-gomol/lists"}