XmlReader

package module
v0.1.2-beta Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 4 Imported by: 0

README

Large Xml Reader Golang

Package for reading large xml files line by line

Installation

go get github.com/Bel-uga-develop/XmlReader

Documentation

Overview

Package for reading large xml files line by line

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func (*Reader) Read

func (reader *Reader) Read(callBack func(string, string) error) error

Reading a xml file line by line

func (*Reader) SetElement

func (reader *Reader) SetElement(elementName string)

Function to specify xml element for loop

func (*Reader) SetElements added in v0.1.2

func (reader *Reader) SetElements(elements []string)

Function to specify xml elements for loop

func (*Reader) SetFile

func (reader *Reader) SetFile(fileName string)

Function to specify xml file

Jump to

Keyboard shortcuts

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