local

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	SRSID        string
	Line         int16
	MatchedID    string
	InstanceHRID string
	InstanceID   string
	Field        string
	Ind1         string
	Ind2         string
	Ord          int16
	SF           string
	Content      string
}

type Source

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

func (*Source) Close

func (s *Source) Close()

func (*Source) Err

func (s *Source) Err() error

func (*Source) Next

func (s *Source) Next() bool

func (*Source) Values

func (s *Source) Values() ([]any, error)

type Store

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

func NewStore

func NewStore(datadir string) (*Store, error)

func (*Store) Close

func (s *Store) Close()

func (*Store) FinishWriting

func (s *Store) FinishWriting() error

func (*Store) ReadSource

func (s *Store) ReadSource(field string, printerr func(string, ...any)) (*Source, error)

func (*Store) Write

func (s *Store) Write(record *Record) (*string, error)

Jump to

Keyboard shortcuts

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