Documentation
¶
Overview ¶
Package sizespec implements a parser for size specifications. Yep, we could use regexes, but then we don't get to tell people where they failed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error struct { // Position is the index in Spec at which the the unexpected character was found. Position int // Character is the character that was unexpected. Character rune // Spec is the full size spec that caused the error. Spec string }
Error indicates that the size spec could not be parsed.
Click to show internal directories.
Click to hide internal directories.