{"id":19834708,"url":"https://github.com/makenowjust/heredoc","last_synced_at":"2025-05-14T13:07:20.949Z","repository":{"id":18319607,"uuid":"21498554","full_name":"makenowjust/heredoc","owner":"makenowjust","description":"Package heredoc provides the here-document with keeping indent.","archived":false,"fork":false,"pushed_at":"2025-01-05T14:16:42.000Z","size":40,"stargazers_count":167,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-13T16:50:20.889Z","etag":null,"topics":["go","golang","heredoc","indent","library","text"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/MakeNowJust/heredoc/v2","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"gunthercox/ChatterBot","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/makenowjust.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":"2014-07-04T13:45:16.000Z","updated_at":"2025-03-31T20:00:22.000Z","dependencies_parsed_at":"2024-02-05T05:26:10.971Z","dependency_job_id":"18ffc774-4cb7-4e9c-9664-4a4cf2f4e06f","html_url":"https://github.com/makenowjust/heredoc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenowjust%2Fheredoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenowjust%2Fheredoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenowjust%2Fheredoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenowjust%2Fheredoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makenowjust","download_url":"https://codeload.github.com/makenowjust/heredoc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254149958,"owners_count":22022851,"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":["go","golang","heredoc","indent","library","text"],"created_at":"2024-11-12T12:05:27.457Z","updated_at":"2025-05-14T13:07:15.927Z","avatar_url":"https://github.com/makenowjust.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# heredoc\n\n[![Version](https://img.shields.io/github/v/release/makenowjust/heredoc)](https://github.com/makenowjust/heredoc/releases)\n[![Workflow Result](https://github.com/makenowjust/heredoc/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/makenowjust/heredoc/actions/workflows/main.yml)\n[![Go Reference](https://pkg.go.dev/badge/github.com/makenowjust/heredoc/v2.svg)](https://pkg.go.dev/github.com/MakeNowJust/heredoc/v2)\n\n## About\n\nPackage heredoc provides the here-document with keeping indent.\n\n## Import\n\n```go\nimport \"github.com/MakeNowJust/heredoc/v2\"\n```\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/MakeNowJust/heredoc/v2\"\n)\n\nfunc main() {\n\tfmt.Println(heredoc.Doc(`\n\t\tLorem ipsum dolor sit amet, consectetur adipisicing elit,\n\t\tsed do eiusmod tempor incididunt ut labore et dolore magna\n\t\taliqua. Ut enim ad minim veniam, ...\n\t`))\n\t// Output:\n\t// Lorem ipsum dolor sit amet, consectetur adipisicing elit,\n\t// sed do eiusmod tempor incididunt ut labore et dolore magna\n\t// aliqua. Ut enim ad minim veniam, ...\n\t//\n}\n```\n\n## API Document\n\n[heredoc package - github.com/MakeNowJust/heredoc/v2 - pkg.go.dev](https://pkg.go.dev/github.com/MakeNowJust/heredoc/v2)\n\n## License\n\nThis software is released under the MIT License, see LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakenowjust%2Fheredoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakenowjust%2Fheredoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakenowjust%2Fheredoc/lists"}