notion

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNotion

func NewNotion(pageID, tableIndexID, token string, info *definition.CommonInfo) (definition.Definition, error)

func NewNotionOnlyMermaid added in v1.2.0

func NewNotionOnlyMermaid(pageID, tableIndexID, token string, info *definition.CommonInfo) (definition.Definition, error)

Types

type Notion

type Notion struct {
	*definition.CommonInfo
	// contains filtered or unexported fields
}

func (*Notion) EnableMermaid added in v1.2.0

func (n *Notion) EnableMermaid()

func (*Notion) IsDefinition added in v1.2.2

func (n *Notion) IsDefinition() bool

func (*Notion) IsMermaid added in v1.2.2

func (n *Notion) IsMermaid() bool

func (*Notion) Mermaid added in v1.1.0

func (n *Notion) Mermaid(ctx context.Context) error

func (*Notion) Upsert

func (n *Notion) Upsert(ctx context.Context) error

Jump to

Keyboard shortcuts

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