io

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDiagram added in v1.0.2

func DeleteDiagram(fileName string) error

DeleteDiagram deletes a diagram.

func ListDiagrams

func ListDiagrams(dir string) ([]string, error)

ListDiagrams list the saved diagrams.

func ReadFile

func ReadFile(input string) []byte

ReadFile read the input file.

func SaveFile

func SaveFile(fileName string, output string, data string) (*os.File, error)

SaveFile saves the diagram into the output directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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