Golang API Client
Golang integration handles uploads and file operations by wrapping Uploadcare Upload API and REST API. This comprehensive API client lets you use most of the Uploadcare features from within your Golang app.
Features
Uploading (Upload API):
- Upload files from local storage and URLs (up to 5 TB)
- Multipart uploading for large files
- Uploading network to speed uploading jobs (like CDN)
File management (REST API):
- Get file info and perform various operations (store/delete/copy) with them
- Work with groups of files
- Get info about account project
- Manage webhooks
- Convert documents
- Encode and transform videos
Image processing (URL API):
- Compression
- Geometry
- Colors
- Definition
- Image and text overlays
- Rotations
- Recognition
- File info
- Proxy (fetch)
Security features:
- Secure authentication
- Secure uploads (signed uploads)
- Secure delivery (signed URLs)
Requirements
- go1.13
Installation
Install uploadcare-go with:
Then import it using:
Configuration
Creating a client:
Usage example
For a comprehensive list of examples, check out the Upload API documentation.
Getting a list of files:
Getting file info:
Uploading a file:
Full documentation
Read the full documentation on GitHub.
Related guides
- Integration with Rust