reader

package
v0.0.0-...-ce6b004 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFromFile

func ReadFromFile(filepath string) (sc *SourceCode, err *ReaderError)

func ReadFromString

func ReadFromString(s string) (sc *SourceCode, err *ReaderError)

Types

type ReaderError

type ReaderError struct {
	Message string
}

type SourceCode

type SourceCode struct {
	Line []string
}

Jump to

Keyboard shortcuts

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