json

package
Version: v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package json json

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

Writer writer

func NewWriter

func NewWriter(w io.Writer, pretty bool) *Writer

NewWriter new json writer

func (Writer) WriteToFile

func (w Writer) WriteToFile(urls []xml.URL, loc bool) ([]byte, error)

WriteToFile WriteToFile

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL