Files
ragflow/internal/deepdoc/parser/docx/reader_stub.go
Jack c8cf0c967d Feat: add DOCX parser (#16521)
### Summary

Add DOCX parser - go.
2026-07-02 16:31:09 +08:00

12 lines
324 B
Go

//go:build !cgo
package docx
import "errors"
// ExtractRawBlocks is not available without cgo because the underlying
// office_oxide library requires CGo. Rebuild with CGO_ENABLED=1.
func ExtractRawBlocks(_ []byte) ([]RawBlock, error) {
return nil, errors.New("office_oxide requires cgo; rebuild with CGO_ENABLED=1")
}