Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coderunrepeat/presidio-go-client
https://github.com/coderunrepeat/presidio-go-client
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/coderunrepeat/presidio-go-client
- Owner: CodeRunRepeat
- License: mit
- Created: 2022-11-28T17:07:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T23:38:31.000Z (about 1 year ago)
- Last Synced: 2024-10-26T02:53:46.889Z (2 months ago)
- Language: Go
- Size: 9.24 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Go client for Presidio
[![Go-all](https://github.com/CodeRunRepeat/presidio-go-client/actions/workflows/go-all.yml/badge.svg)](https://github.com/CodeRunRepeat/presidio-go-client/actions/workflows/go-all.yml)
This is an unofficial Go client for [Presidio](https://github.com/microsoft/Presidio), the open source PII detection and anonymization tool. If you are running Presidio in your environment, you can use this client to access its
[REST services](https://microsoft.github.io/presidio/api-docs/api-docs.html) using Go.Usage examples can be found in the samples folder, and in unit tests.
## Building the client
Open `src` in VSCode (dev container) and run `make all` from the terminal.
## Running the samples
Open `samples` in VSCode (dev container); each sample is in a separate directory and you can run it from there; e.g., for the basic sample,
go to the terminal and type```sh
cd ./basic
go run main.go
```## Tools and libraries
* You need the [Dev Containers VSCode extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) to build the client and run samples, along with Docker Desktop (see prerequisites for the extension).
* To call Presidio services, the client uses classes generated by [swagger-codegen](https://github.com/swagger-api/swagger-codegen).
* The client uses [staticcheck](https://github.com/dominikh/go-tools) as its linter.## Feedback
Share your feedback about the client by opening an issue or opening a PR.