readers

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitReader

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

func NewGitReader

func NewGitReader(path string) *GitReader

func (*GitReader) Read

func (g *GitReader) Read() ([]byte, error)

type LocalReader

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

func NewLocalReader

func NewLocalReader(fName string) *LocalReader

func (*LocalReader) Read

func (l *LocalReader) Read() ([]byte, error)

type SchemaReader

type SchemaReader interface {
	Read() ([]byte, error)
}

func DiscoverReader

func DiscoverReader(schemaPath string) SchemaReader

Jump to

Keyboard shortcuts

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