sheetio

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2026 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportSheet

func ExportSheet(store *lib.InitStore) fiber.Handler

ExportSheet handles GET /s/:pad/export.xlsx.

func ImportSheet

func ImportSheet(store *lib.InitStore) fiber.Handler

ImportSheet handles POST /s/:pad/import (multipart "file"), replacing the sheet's workbook and notifying connected clients to reload.

func Init

func Init(store *lib.InitStore)

Init registers the spreadsheet xlsx import/export and history routes.

func RestoreSheet added in v0.7.0

func RestoreSheet(store *lib.InitStore) fiber.Handler

RestoreSheet handles POST /s/:pad/history/:rev/restore: it brings the workbook back to that revision with ordinary ops, which reach the connected clients like anyone's edits.

func SheetAtRevision added in v0.7.0

func SheetAtRevision(store *lib.InitStore) fiber.Handler

SheetAtRevision handles GET /s/:pad/history/:rev: the workbook snapshot as it was at that revision.

func SheetHistory added in v0.7.0

func SheetHistory(store *lib.InitStore) fiber.Handler

SheetHistory handles GET /s/:pad/history: the stored changes with their time and author, oldest first.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL