mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-09 04:44:49 +08:00
12 lines
324 B
Go
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")
|
||
|
|
}
|