{"id":15645482,"url":"https://github.com/lunixbochs/og","last_synced_at":"2025-04-30T10:46:37.293Z","repository":{"id":21699582,"uuid":"25020962","full_name":"lunixbochs/og","owner":"lunixbochs","description":"Language and tool enhancements for Go","archived":false,"fork":false,"pushed_at":"2014-11-13T01:04:33.000Z","size":430,"stargazers_count":53,"open_issues_count":31,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-25T07:05:54.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/lunixbochs.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":"2014-10-10T04:58:09.000Z","updated_at":"2024-03-30T18:52:22.000Z","dependencies_parsed_at":"2022-07-23T15:47:21.745Z","dependency_job_id":null,"html_url":"https://github.com/lunixbochs/og","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/lunixbochs%2Fog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunixbochs%2Fog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunixbochs%2Fog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunixbochs%2Fog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lunixbochs","download_url":"https://codeload.github.com/lunixbochs/og/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242640885,"owners_count":20162051,"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-10-03T12:08:01.978Z","updated_at":"2025-03-09T03:31:47.592Z","avatar_url":"https://github.com/lunixbochs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"`og`: Language and tool enhancements for Go\n----\n\nInstallation\n----\n\n    go get github.com/lunixbochs/og\n\nYou can update og to the latest version with `og update`.\n\nUsage\n----\n\n`og` is a `go` frontend with additional features, such as a code preprocessor.\n\nUse it as you would the existing `go` command, like `go build` or `go run`.\n\nIt also provides the following extra commands:\n\n    og help\n    ...\n        gen         generate preprocessed source tree\n        parse       preprocess one source file\n        update      update og command\n    ...\n\nFeatures\n----\n\n - Preprocessor\n    - Easily perform AST transformations on Go projects as they are built\n    - Safe: will never modify or overwrite your existing files\n    - Fast: adds almost no time to your project build\n - Language Extensions\n    - `try()`: reduces the `if err != nil {}` pattern to a single line.\n\n            // before\n            tmp, err := call()\n            if err != nil {\n                return nil, err\n            }\n            // after\n            tmp := try(call())\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunixbochs%2Fog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flunixbochs%2Fog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunixbochs%2Fog/lists"}