libcodec

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(contentType ContentType, v interface{}) ([]byte, error)

func Unmarshal

func Unmarshal(contentType ContentType, data []byte, v interface{}) error

Types

type ContentType

type ContentType string
const (
	JSON ContentType = "json"
)

Jump to

Keyboard shortcuts

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