dataop

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultMdTpl string

Functions

This section is empty.

Types

type DataOutOp

type DataOutOp struct {
}

func (*DataOutOp) ExportAllToMarkdown

func (do *DataOutOp) ExportAllToMarkdown() (string, error)

对外导出方法,成功则返回文件路径

func (*DataOutOp) ExportFileExist

func (do *DataOutOp) ExportFileExist() string

检查导出的文件是否已存在, 存在则返回文件的绝对路径

func (*DataOutOp) ExportToMarkdown

func (do *DataOutOp) ExportToMarkdown(key []byte, iv []byte) (string, error)

导出所有账号

type MdVo

type MdVo struct {
	Plat     pwdbox.Platform
	Accounts []pwdbox.Account
}

func (*MdVo) DefaultToMarkdownText

func (a *MdVo) DefaultToMarkdownText() (string, error)

func (*MdVo) ToMarkdownText

func (a *MdVo) ToMarkdownText(filename string) (string, error)

Jump to

Keyboard shortcuts

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