Skip to content

Instantly share code, notes, and snippets.

@ares-koen
ares-koen / gist:a6922855d31e484b8ab72e4ff5bfc228
Created September 16, 2020 03:51
UniDoc/UniPDF and UniDoc/UniOffice license fix for development testing. To use in Production, get a license from unidoc.io.
===========================================================================================================================================
[Example Version: unidoc/unioffice@v1.5.1]
===========================================================================================================================================
1. In [GOPATH]/pkg/mod/github.com/unidoc/unioffice@v1.5.1/common/license/license.go, replace Public Key with the following key.
___________________________________________________________________________________________________________________________________________
New Public Key: "\u000a\u002d\u002d\u002d\u002d\u002d\u0042\u0045\u0047\u0049\u004e\u0020\u0050\u0055\u0042\u004c\u0049\u0043\u0020\u004b\u0045\u0059\u002d\u002d\u002d\u002d\u002d\u000a\u004d\u0049\u0049\u0042\u0049\u006a\u0041\u004e\u0042\u0067\u006b\u0071\u0068\u006b\u0069\u0047\u0039\u0077\u0030\u0042\u0041\u0051\u0045\u0046\u0041\u0041\u004f\u0043\u0041\u0051\u0038\u0041\u004d\u0049\u0049\u0042\u0043\u0067\u004b\u0043\u0041\u