docparse

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFile

func FromFile(filepath string, format Format) ([]string, error)

Parses a file to an array of separated documents

func FromStdin

func FromStdin(format Format) ([]string, error)

Parses stdin to an array of separated documents

Types

type Format

type Format int8
const (
	Yaml Format = 0
	Json Format = 1
)

Jump to

Keyboard shortcuts

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