Installation
Installation
Aspose.Cells FOSS for Go installs as a standard Go module with no external dependencies and no native Office libraries to configure.
Prerequisites
| Requirement | Detail |
|---|---|
| Go version | 1.24 or later (per the module’s go.mod) |
| Operating system | Any platform supported by the Go toolchain (Windows, Linux, macOS) |
| External dependencies | None — go.mod declares no require entries |
| Microsoft Office | Not required |
Step 1: Add the module
Run go get inside your module’s directory to add Aspose.Cells FOSS for Go as a dependency:
go get github.com/aspose-cells-foss/Aspose.Cells-FOSS-for-Go/v26This adds an entry to your project’s go.mod and go.sum.
Step 2: Import the package
Import the package under the cells_foss alias used throughout its own examples and documentation:
import cells_foss "github.com/aspose-cells-foss/Aspose.Cells-FOSS-for-Go/v26/aspose/cells_foss"Step 3: Verify the installation
Build a minimal program that creates a Workbook to confirm the module resolves and compiles correctly:
package main
import (
"fmt"
cells_foss "github.com/aspose-cells-foss/Aspose.Cells-FOSS-for-Go/v26/aspose/cells_foss"
)
func main() {
wb := cells_foss.NewWorkbook()
fmt.Println("Aspose.Cells FOSS for Go is ready:", len(wb.Worksheets), "worksheet(s)")
}Run it with go run . — a successful build with no import errors confirms the installation.
Next Steps
- Quickstart: Create and save your first workbook
- Developer Guide: Practical tutorials covering all major features
- API Reference: Full class and method documentation