parser

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVTreeParser

type CSVTreeParser struct {
	Comma rune
}

CSVTreeParser handles parsing of CSV data into a tree structure

func (*CSVTreeParser) ParseFile

func (s *CSVTreeParser) ParseFile(filepath string) (*treemap.Tree, error)

ParseFile parses a CSV file into a tree structure

func (*CSVTreeParser) ParseReader

func (s *CSVTreeParser) ParseReader(reader io.Reader) (*treemap.Tree, error)

ParseReader parses CSV data from a reader into a tree structure

Jump to

Keyboard shortcuts

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