16 lines
476 B
Go
16 lines
476 B
Go
//go:build !windows
|
|
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
// Stub implementations for non-Windows platforms (for testing API without Excel COM).
|
|
|
|
func FillCells(cells map[string]interface{}, fileContent []byte, printArea string) ([]byte, error) {
|
|
return nil, fmt.Errorf("Excel COM is only available on Windows")
|
|
}
|
|
|
|
func ReadCells(fileContent []byte) (map[string]interface{}, error) {
|
|
return map[string]interface{}{"cells": map[string]interface{}{}, "merged": []interface{}{}}, nil
|
|
}
|