entity

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Space = " "
	Empty = ""
)

Variables

This section is empty.

Functions

func Unique added in v0.0.3

func Unique[T comparable](in []T) []T

Types

type Command

type Command struct {
	Cmd  string
	Args []string
}

type DataFile added in v0.0.2

type DataFile struct {
	Path     string
	Name     string
	Data     []byte
	ExecTmpl bool
}

type FileProducer

type FileProducer interface {
	Get() (*DataFile, error)
}

type LocalFile added in v0.0.2

type LocalFile struct {
	Path      string
	Name      string
	LocalPath string
	ExecTmpl  bool
}

type Logger

type Logger interface {
	Infof(format string, args ...any)
	Errorf(format string, any ...any)
	Warnf(format string, any ...any)
	Debugf(format string, any ...any)
}

type RemoteFile

type RemoteFile struct {
	Path     string
	Name     string
	URL      string
	Headers  map[string]string
	ExecTmpl bool
}

Jump to

Keyboard shortcuts

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