Documentation ¶
Overview ¶
Package issues provides info & error logging for parsing/compiling amod files.
Index ¶
- type Issue
- type IssueList
- type Location
- type Log
- func (l Log) AllIssues() IssueList
- func (l *Log) Error(location *Location, s string, a ...interface{})
- func (l Log) FirstEntry() string
- func (l Log) HasError() bool
- func (l Log) HasIssues() bool
- func (l *Log) Info(location *Location, s string, a ...interface{})
- func (l Log) String() string
- func (l *Log) Warning(location *Location, s string, a ...interface{})
- func (l Log) Write(w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func (Log) FirstEntry ¶
FirstEntry provides a way to get the text of the first log entry. This is used when parsing goals input by the user. For the UX we want to manage the output text differently. See amod.go ParseChunk()
Click to show internal directories.
Click to hide internal directories.