ms@DESKTOP-7POEGPB MINGW64 ~/Downloads/pdfSplitter-1.0.1
$ go build main.go
# github.com/amirdadp/go-ghostscript/ghostscript
..\..\go\pkg\mod\github.com\amirdadp\go-ghostscript@v0.0.0-20230509185812-1740bd0d1a21\ghostscript\ghostscript.go:8:10: fatal error: ghostscript/gdevdsp.h: No such file or directory
8 | #include <ghostscript/gdevdsp.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ms@DESKTOP-7POEGPB MINGW64 ~/Downloads/pdfSplitter-1.0.1
Please extend your documentation accordingly. Also it would be great if you provide binaries for downloads. You could use https://goreleaser.com/ for that.
I could not figure out how to install ghostsript. None of the windows artifacts inside the referenced https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/gs9550 contains
ghostscript/gdevdsp.h
:Please extend your documentation accordingly. Also it would be great if you provide binaries for downloads. You could use https://goreleaser.com/ for that.