csv

package
v0.0.0-...-03b3635 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 11 Imported by: 0

README

CSV Provider

Simplified version. Mostly for local debug.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(folderPath string) providers.Provider

NewClient constructor

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client struct

func (*Client) DropByIDs

func (c *Client) DropByIDs(ctx context.Context, entity string, ids []int) error

DropByIDs drops items by IDs

func (*Client) EnsureEntity

func (c *Client) EnsureEntity(ctx context.Context, entity string) error

EnsureEntity ensures entity sync table

func (*Client) SyncItems

func (c *Client) SyncItems(ctx context.Context, entity string, items []spsync.Item) error

SyncItems runs entity items batch sync

Jump to

Keyboard shortcuts

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