libcodec

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 5 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"
	TOML ContentType = "toml"
)

Jump to

Keyboard shortcuts

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