position

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SheetPosition

type SheetPosition struct {
	RowOffset     int64  `json:"row_offset"`
	SpreadsheetID string `json:"spreadsheet_id"`
	SheetID       int64  `json:"sheet_id"`
}

func ParseRecordPosition

func ParseRecordPosition(p sdk.Position) (SheetPosition, error)

ParseRecordPosition is used to parse the sdk.Position to SheetPosition type

func (SheetPosition) RecordPosition

func (s SheetPosition) RecordPosition() sdk.Position

RecordPosition converts the SheetPosition to sdk.Position to be returned in sdk.Record

Jump to

Keyboard shortcuts

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