https://github.com/blizzy78/gopii
Go package that sanitizes personally identifiable information (PII) from text.
https://github.com/blizzy78/gopii
go golang pii slog
Last synced: 5 months ago
JSON representation
Go package that sanitizes personally identifiable information (PII) from text.
- Host: GitHub
- URL: https://github.com/blizzy78/gopii
- Owner: blizzy78
- License: mit
- Created: 2024-04-01T19:00:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-01T19:07:49.000Z (over 2 years ago)
- Last Synced: 2024-06-19T21:00:39.953Z (about 2 years ago)
- Topics: go, golang, pii, slog
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pkg.go.dev/github.com/blizzy78/gopii)
gopii
=====
A Go package that provides functions to sanitize personally identifiable information (PII) from text.
```go
import "github.com/blizzy78/gopii"
```
Code example
------------
See [example_test.go](example_test.go) on how to obscure strings.
See [example_slog_test.go](example_slog_test.go) on how to use with Go's slog package to automatically
obscure strings.
License
-------
This package is licensed under the MIT license.