Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/coderunrepeat/presidio-go-client


https://github.com/coderunrepeat/presidio-go-client

Last synced: 16 days ago
JSON representation

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.