lemin

package
v0.0.0-...-dec46cf Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResult

func GetResult(scanner *bufio.Scanner) (*anthill.Result, error)

GetResult - returns result, nil if shortest disjoint paths was found

func RunProgramWithFile

func RunProgramWithFile(path string, showContent bool)

RunProgramWithFile - path is filepath, writes result to output. Close program if has error.

func WriteResultByContent

func WriteResultByContent(w io.Writer, content string, writeContent bool) error

WriteResultByContent - using for Web, inputs writer for write result, writes nothing if returns error

func WriteResultByFilePath

func WriteResultByFilePath(w io.Writer, path string, writeContent bool) error

WriteResultByFilePath - path is filepath.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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