Usage is straightforward for common cases: import "github.com/extemporalgenome/npdfpages" var pages = npdfpages.PagesAtPath("somefile.pdf")