{"id":27197686,"url":"https://github.com/preaction/mojo.go","last_synced_at":"2025-04-09T20:29:21.557Z","repository":{"id":57618726,"uuid":"372387136","full_name":"preaction/mojo.go","owner":"preaction","description":"The Mojolicious Web Framework, ported to Go","archived":false,"fork":false,"pushed_at":"2021-07-21T16:24:00.000Z","size":4914,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T15:44:27.359Z","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/preaction.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}},"created_at":"2021-05-31T05:01:19.000Z","updated_at":"2023-12-20T06:22:03.000Z","dependencies_parsed_at":"2022-08-31T10:11:38.792Z","dependency_job_id":null,"html_url":"https://github.com/preaction/mojo.go","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/preaction%2Fmojo.go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2Fmojo.go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2Fmojo.go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preaction%2Fmojo.go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preaction","download_url":"https://codeload.github.com/preaction/mojo.go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248106792,"owners_count":21048796,"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":"2025-04-09T20:29:20.642Z","updated_at":"2025-04-09T20:29:21.538Z","avatar_url":"https://github.com/preaction.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mojo\n\npackage mojo is a web application framework, ported from the\nMojolicious web framework for the Perl language.\n\nIn the Mojolicious framework, an author builds an Application object,\nregisters handlers for one or more Routes, and then starts the\napplication using its Start() method.\n\n```go\npackage main\nimport \"github.com/preaction/mojo.go\"\nimport \"fmt\"\nfunc main() {\n\tapp := mojo.NewApplication()\n\tapp.Renderer.AddTemplate(\"greet\", \"Hello, \u003c% .Stash.name %\u003e!\\n\")\n\tapp.Routes.Get( \"/:name\", mojo.Stash{\"name\": \"World\"}).To( GreetHandler )\n\tapp.Start()\n}\nfunc GreetHandler( c *mojo.Context ) {\n\tc.Render( \"greet\" )\n}\n```\n\n## Sub Packages\n\n* [mojo](./mojo)\n\n* [testmojo](./testmojo)\n\n* [util](./util)\n\n---\nReadme created from Go doc with [goreadme](https://github.com/posener/goreadme)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreaction%2Fmojo.go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreaction%2Fmojo.go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreaction%2Fmojo.go/lists"}