input

package
v0.0.0-...-64ea644 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(data []byte) (model.Diagram, error)

Types

type Reader

type Reader interface {
	ReadAll(root string) ([]byte, error)
}

type ReaderImpl

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

func NewReader

func NewReader(fs afero.Fs) *ReaderImpl

func (ReaderImpl) FindFiles

func (r ReaderImpl) FindFiles(root string) ([]string, error)

func (ReaderImpl) ReadAll

func (r ReaderImpl) ReadAll(root string) ([]byte, error)

Jump to

Keyboard shortcuts

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