{"id":22338230,"url":"https://github.com/ipfans/echo-pongo2","last_synced_at":"2025-08-21T08:07:51.511Z","repository":{"id":35890272,"uuid":"40176456","full_name":"ipfans/echo-pongo2","owner":"ipfans","description":"Package moves to https://github.com/echo-contrib/pongor. Package echo-pongo2 is a middleware that provides pongo2 template engine support for echo.","archived":false,"fork":false,"pushed_at":"2017-07-03T02:38:02.000Z","size":110,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T10:11:25.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/echo-contrib/pongor","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipfans.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}},"created_at":"2015-08-04T09:46:35.000Z","updated_at":"2016-04-20T06:09:40.000Z","dependencies_parsed_at":"2022-09-26T17:51:14.305Z","dependency_job_id":null,"html_url":"https://github.com/ipfans/echo-pongo2","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/ipfans%2Fecho-pongo2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fecho-pongo2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fecho-pongo2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fecho-pongo2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipfans","download_url":"https://codeload.github.com/ipfans/echo-pongo2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245617029,"owners_count":20644744,"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-12-04T06:13:32.302Z","updated_at":"2025-03-26T08:26:10.229Z","avatar_url":"https://github.com/ipfans.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"echo-pongo2\n======\n\nMiddleware echo-pongo2 is a [pongo2](https://github.com/flosch/pongo2) template engine support for [echo](https://github.com/labstack/echo/).\n\n### Installation\n\n\tgo get github.com/ipfans/echo-pongo2\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"github.com/ipfans/echo-pongo2\"\n\t\"github.com/labstack/echo\"\n\t\"github.com/labstack/echo/middleware\"\n)\n\nfunc main() {\n\tserv := echo.New()\n\tserv.Use(middleware.Logger())\n\tserv.Use(middleware.Recover())\n\tserv.Use(pongo2.Pongo2())\n\tserv.Get(\"/\", func(ctx *echo.Context) error {\n\t\t// ctx.Set(\"ContentType\") = \"text/html\"\n\t\t// ctx.Set(\"encoding\") = \"UTF-8\"\n\t\tctx.Set(\"template\", \"index.html\")\n\t\tctx.Set(\"data\", map[string]interface{}{\n\t\t\t\"user\": \"ipfans\",\n\t\t})\n\t\treturn nil\n\t})\n\n\tserv.Run(\"127.0.0.1:8080\")\n}\n```\n\n## License\n\nThis project is under Apache v2 License. See the [LICENSE](LICENSE) file for the full license text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Fecho-pongo2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipfans%2Fecho-pongo2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Fecho-pongo2/lists"}