archivemap

package module
v0.0.0-...-2739c2c Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveMap

type ArchiveMap map[string][]byte

ArchiveMap implements marshalling for a well-ordered ordered json map

func (ArchiveMap) MarshalJSON

func (am ArchiveMap) MarshalJSON() ([]byte, error)

MarshalJSON creates a well ordered JSON byte array for an archive map alphabetically by key

func (ArchiveMap) UnmarshalJSON

func (am ArchiveMap) UnmarshalJSON(b []byte) error

UnmarshalJSON populates ArchiveMap from a JSON byte array

Jump to

Keyboard shortcuts

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