source

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbSource

type DbSource struct {
	DSN       string
	TableName string
}

func (*DbSource) GetData

func (d *DbSource) GetData() (data []byte, err error)

type FileSource

type FileSource struct {
	FilePath string
}

func (*FileSource) GetData

func (f *FileSource) GetData() (data []byte, err error)

type Source

type Source interface {
	GetData() (data []byte, err error)
}

Jump to

Keyboard shortcuts

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