Go SDK

Detectant Go SDK
Detectant is a malware scanning API with support for Go
Scan files for malware from Go services and applications.
Install
Set your API key in the environment:
Create a client
Scan one file
The SDK streams from any io.Reader, so large files do not need to be loaded into memory.
Scan a batch
Upload between 1 and 20 files. Results are returned in the same order as the inputs.
Requests retry transient failures twice by default. Use request options to configure retry attempts, timeouts, headers, or a custom HTTP client.
Source
The SDK is generated with Fern and maintained at Detectant/go-sdk. Package documentation is available on pkg.go.dev.

