data_json

package
Version: v0.0.1-0...-d0d4b74 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CardStorage

type CardStorage struct {
	Value        string `json:"value"`
	entity.Reply `json:"data"`
}

type EngineJSON

type EngineJSON struct {
	config.Config
	FileJSON string
	Encoder  encode.GNjson
}

func NewEngineJSON

func NewEngineJSON(cfg config.Config) EngineJSON

func (EngineJSON) Init

func (e EngineJSON) Init() error

func (EngineJSON) Load

func (e EngineJSON) Load(set string) (*entity.CardStack, error)

func (EngineJSON) Save

func (e EngineJSON) Save(cs *entity.CardStack) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL