View Code? Open in Web Editor
NEW
📚 A Go port for caj2pdf/caj2pdf
caj2pdf-go's Introduction
caj2pdf-go's People
Contributors
caj2pdf-go's Issues
我现在用的windows,但是报错panic: open ./temp/5.caj: The system cannot find the path specified.
os:ubuntu18
go:1.18
panic: runtime error: slice bounds out of range [:-1]
goroutine 1 [running]:
github.com/rwv/caj2pdf-go/parser/CAJParser.parseToc({0xc00010f900, 0xc00010f900?, 0x140})
/home/sx/git/caj2pdf-go/parser/CAJParser/getToc.go:65 +0x17e
github.com/rwv/caj2pdf-go/parser/CAJParser.getToc({0x4ec760, 0xc00000e030})
/home/sx/git/caj2pdf-go/parser/CAJParser/getToc.go:37 +0x145
github.com/rwv/caj2pdf-go/parser/CAJParser.CAJParser.Convert({{0x4ca152, 0xa}, 0x6e697354}, {0x4c9fcc, 0xa})
/home/sx/git/caj2pdf-go/parser/CAJParser/CAJParser.go:38 +0xdc
main.main()
/home/sx/git/caj2pdf-go/main.go:11 +0x48