encoding

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeData

func DecodeData(instance DataInterface, data Data) error

DecodeData store DataInterface from DataInterface struct. Decoded with json

Types

type Data

type Data string

func EncodeData

func EncodeData(instance DataInterface) (Data, error)

EncodeData return Data from DataInterface struct. Encoded with json

type DataInterface

type DataInterface interface{}

type DataType

type DataType string

Jump to

Keyboard shortcuts

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