xbytes

package
v0.0.0-...-ed9fe1d Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteString

type ByteString []byte

ByteString is an alias for []byte to encode/decode JSON as unicode string

func (*ByteString) MarshalJSON

func (s *ByteString) MarshalJSON() ([]byte, error)

MarshalJSON is to implement JSON marshalizer

func (*ByteString) UnmarshalJSON

func (s *ByteString) UnmarshalJSON(data []byte) error

UnmarshalJSON is to implement JSON unmarshalizer

Jump to

Keyboard shortcuts

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