{"id":16092344,"url":"https://github.com/alecthomas/template","last_synced_at":"2025-04-04T06:06:54.083Z","repository":{"id":27522550,"uuid":"31003500","full_name":"alecthomas/template","owner":"alecthomas","description":"Fork of Go's text/template adding newline elision","archived":false,"fork":false,"pushed_at":"2023-12-02T07:09:29.000Z","size":82,"stargazers_count":56,"open_issues_count":1,"forks_count":27,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-29T19:58:27.960Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alecthomas.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":"2015-02-19T06:03:38.000Z","updated_at":"2024-04-23T15:45:56.000Z","dependencies_parsed_at":"2024-06-18T13:38:10.983Z","dependency_job_id":"fef06c21-126f-43d6-b0a3-5401a2ecc074","html_url":"https://github.com/alecthomas/template","commit_stats":{"total_commits":9,"total_committers":3,"mean_commits":3.0,"dds":0.2222222222222222,"last_synced_commit":"fb15b899a75114aa79cc930e33c46b577cc664b1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Ftemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Ftemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Ftemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecthomas%2Ftemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alecthomas","download_url":"https://codeload.github.com/alecthomas/template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247128743,"owners_count":20888235,"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-09T16:07:11.636Z","updated_at":"2025-04-04T06:06:54.056Z","avatar_url":"https://github.com/alecthomas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go's `text/template` package with newline elision\n\nThis is a fork of Go 1.4's [text/template](http://golang.org/pkg/text/template/) package with one addition: a backslash immediately after a closing delimiter will delete all subsequent newlines until a non-newline.\n\neg.\n\n```\n{{if true}}\\\nhello\n{{end}}\\\n```\n\nWill result in:\n\n```\nhello\\n\n```\n\nRather than:\n\n```\n\\n\nhello\\n\n\\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecthomas%2Ftemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falecthomas%2Ftemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecthomas%2Ftemplate/lists"}