mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2026-12-01 14:57:52 +00:00
6012d72ba0eae806ca709c408ff7e8052957e184
The translate package had no tests. These are fully hermetic: callOneshot is exercised against httptest, so go test ./... stays offline and fast. Covers lang resolution (incl. the EN/PT target-vs-source asymmetry), TranslateByDeepLX preflight validation (404/400/413, pre-network only), callOneshot request shaping and gzip/deflate/br decoding, newInstanceID UUIDv4 shape, and the oneshotRequest JSON contract.
How to use
[!TIP]
Learn more about 📘 Using DeepLX by checking it out.
Discussion Group
Acknowledgements
Contributors
Activity
License
Languages
Go
94.7%
Shell
4.7%
Dockerfile
0.6%