utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadEvent

func ReadEvent(path string) (interface{}, error)

func ReadEvents

func ReadEvents(path string, callback func(interface{}) error) error

Types

type EventGenerator

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

func NewEventGenerator

func NewEventGenerator(input io.Reader) *EventGenerator

func (*EventGenerator) Next

func (gen *EventGenerator) Next() interface{}

Jump to

Keyboard shortcuts

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