mirror of
https://github.com/ProtonMail/go-proton-api.git
synced 2026-08-01 09:47:38 -04:00
f03defb04b80eb682faa476798f2d888aeaa68e2
The APIError that was composed in certain replies needs to be kept separate so that the custom `UnmarshalJSON` does not override the composed struct's implementation. This can lead to fields not being deserialized properly.
Go Proton API
This repository holds Go Proton API, a Go library implementing a client and development server for (a subset of) the Proton REST API.
The license can be found in the LICENSE file.
For the contribution policy, see CONTRIBUTING.
Environment variables
Most of the integration tests run locally. The ones that interact with Proton servers require the following environment variables set:
GO_PROTON_API_TEST_USERNAMEGO_PROTON_API_TEST_PASSWORD
Contribution
The library is maintained by Proton AG, and is not actively looking for contributors.
Languages
Go
99.4%
Shell
0.6%