How To Merge PDF Pages In Go (using UniPDF)

Опубликовано: 28 Октябрь 2024
на канале: UniDoc - Professional Go Libraries
776
8

In this tutorial, we will see how we can merge all PDF files in Go. We will see what packages we can use to make things easier and how to open all the files in the current directory. You can find timestamps and necessary links below.

Chapters:
00:00 Greetings and Introduction
0:23 Open UniDoc Playground
0:49 Import Go & UniPDF Packages
1:19 Open UniDoc API Documentation
1:57 How To Open Files In Current Directory
2:19 Error Handling In Go
2:31 Get Names Of All Files In Current Directory
3:05 Use Of Readdirnames() In Go
4:08 How To Create PDF Writer In Go
4:51 How To Get The Extension Of A File
5:22 How To Create PDF Reader In Go
6:07 How To Get PDF Pages In Go
6:58 Merge PDF Pages In Go
7:58 Review Of A Code
8:51 Upload PDF File In UniDoc Playground
9:45 What Is Next?

Link to unidoc playground:
https://play.unidoc.io/p/e45820dea596...

Link to Unidoc Apidoc:
https://apidocs.unidoc.io/

Link To os Package In Go:
https://pkg.go.dev/os

GitHub repository of UniPDF:
https://github.com/unidoc/unipdf-exam...

Feel free to comment if you have any suggestions.