Documentation ¶ Overview ¶ Package buf provides various specialized buffers Index ¶ type Position Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Position ¶ type Position struct { Line int // current line as denoted by newline Col int // column reset for every newline Offset int // Offset provides offset from begining of document } Position provides line and column tracking for document Source Files ¶ View all Source files buf.go Directories ¶ Show internal Expand all Path Synopsis runes Package runes provides a simpler rune scanner for lexers. Package runes provides a simpler rune scanner for lexers. Click to show internal directories. Click to hide internal directories.