githubsync

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseBody

func ParseBody(raw string) (string, model.Stage, string, error)

func SerializeBody

func SerializeBody(item model.Item) string

Types

type Client

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

func NewClient

func NewClient() *Client

func (*Client) DeleteIssue

func (c *Client) DeleteIssue(repo string, issueNumber int) error

func (*Client) ForceUpsertItem

func (c *Client) ForceUpsertItem(repo string, item model.Item) (model.Item, error)

func (*Client) SyncRepo

func (c *Client) SyncRepo(repo string) ([]model.Item, error)

func (*Client) UpsertItem

func (c *Client) UpsertItem(repo string, item model.Item) (model.Item, error)

type ConflictError

type ConflictError struct {
	Local  model.Item
	Remote model.Item
}

func (*ConflictError) Error

func (e *ConflictError) Error() string

Jump to

Keyboard shortcuts

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