An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![GoDoc](https://pkg.go.dev/badge/github.com/blizzy78/gopii)](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.