Setup and Licensing
UniPDF is a Go module, so go get github.com/unidoc/unipdf/v5 is the whole install.
The one other requirement is a license key, loaded before the first call into the
library. Without it every operation returns an error.
Keys come in two forms. A metered API key from UniCloud goes in through
license.SetMeteredKey and reports usage counts back to the license server as you
process documents. An offline key is a signed block of text, loaded with
license.SetLicenseKey together with the customer name embedded in it, and makes no
outbound connection at all.
Last updated on