Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeBackup ¶
func InitializeRestore ¶
Types ¶
type Config ¶
type Config struct { Token string Operation_Type OperationType PageUUIDs []string DatabaseUUIDs []string Dir string Create_Dir bool NotionClient notionclient.NotionClient ReaderWriter rw.ReaderWriter TreeBuilder builder.TreeBuilder MetadataFilePath string RestoreToPageUUID string }
type ConfigOption ¶
type OperationType ¶
type OperationType string
const ( UNKNOWN OperationType = "UNKNOWN" BACKUP OperationType = "BACKUP" RESTORE OperationType = "RESTORE" )
Click to show internal directories.
Click to hide internal directories.