{"id":16003419,"url":"https://github.com/nhatthm/go-redact","last_synced_at":"2025-04-05T01:40:46.897Z","repository":{"id":168794072,"uuid":"644445370","full_name":"nhatthm/go-redact","owner":"nhatthm","description":"A simple library to redact sensitive data","archived":false,"fork":false,"pushed_at":"2025-01-06T16:31:59.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T09:45:04.984Z","etag":null,"topics":["golang","redact","redaction"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nhatthm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"nhatthm","custom":"donate.nhat.me"}},"created_at":"2023-05-23T14:27:59.000Z","updated_at":"2025-01-06T16:32:01.000Z","dependencies_parsed_at":"2023-12-06T20:30:09.964Z","dependency_job_id":"5837abea-c5cd-4ccd-a40c-9159cee142ed","html_url":"https://github.com/nhatthm/go-redact","commit_stats":null,"previous_names":["nhatthm/go-redact"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhatthm%2Fgo-redact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhatthm%2Fgo-redact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhatthm%2Fgo-redact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhatthm%2Fgo-redact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nhatthm","download_url":"https://codeload.github.com/nhatthm/go-redact/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276096,"owners_count":20912287,"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":["golang","redact","redaction"],"created_at":"2024-10-08T10:20:28.423Z","updated_at":"2025-04-05T01:40:46.862Z","avatar_url":"https://github.com/nhatthm.png","language":"Go","funding_links":["https://github.com/sponsors/nhatthm","donate.nhat.me","https://www.paypal.com/donate/?hosted_button_id=PJZSGJN57TDJY"],"categories":[],"sub_categories":[],"readme":"# Redact\n\n[![GitHub Releases](https://img.shields.io/github/v/release/nhatthm/go-redact)](https://github.com/nhatthm/go-redact/releases/latest)\n[![Build Status](https://github.com/nhatthm/go-redact/actions/workflows/test.yaml/badge.svg)](https://github.com/nhatthm/go-redact/actions/workflows/test.yaml)\n[![codecov](https://codecov.io/gh/nhatthm/go-redact/branch/master/graph/badge.svg?token=eTdAgDE2vR)](https://codecov.io/gh/nhatthm/go-redact)\n[![Go Report Card](https://goreportcard.com/badge/go.nhat.io/redact)](https://goreportcard.com/report/go.nhat.io/redact)\n[![GoDevDoc](https://img.shields.io/badge/dev-doc-00ADD8?logo=go)](https://pkg.go.dev/go.nhat.io/redact)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?hosted_button_id=PJZSGJN57TDJY)\n\nA simple library to redact sensitive data.\n\n## Prerequisites\n\n- `Go \u003e= 1.18`\n\n## Install\n\n```bash\ngo get go.nhat.io/redact\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"go.nhat.io/redact\"\n)\n\nfunc ExampleValues() {\n\tr := redact.Values(\"hello\")\n\n\tresult := r.Redact(\"hello world!\", \"hello there\")\n\n\tfor _, s := range result {\n\t\tfmt.Println(s)\n\t}\n\n\t// Output:\n\t// ****** world!\n\t// ****** there\n}\n```\n\n## Donation\n\nIf this project help you reduce time to develop, you can give me a cup of coffee :)\n\n### Paypal donation\n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate/?hosted_button_id=PJZSGJN57TDJY)\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;or scan this\n\n\u003cimg src=\"https://user-images.githubusercontent.com/1154587/113494222-ad8cb200-94e6-11eb-9ef3-eb883ada222a.png\" width=\"147px\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhatthm%2Fgo-redact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhatthm%2Fgo-redact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhatthm%2Fgo-redact/lists"}