jsonwriter

package
v0.0.0-...-72a4bb2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: CC-BY-4.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WriteCloser

type WriteCloser interface {
	Write(interface{}) error
	Close() error
}

WriteCloser writes objects as JSON array. It provides persistent layer for JSON value.

func CreateFile

func CreateFile(name string, reverse bool) (WriteCloser, error)

CreateFile creates a WriteCloser which implemented by file.

Jump to

Keyboard shortcuts

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