file

package
v0.0.0-...-a9535a4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EMAIL_TYPE   = "email"
	NAME_TYPE    = "name"
	PHONE_TYPE   = "phone"
	ADDRESS_TYPE = "address"
	DATE_TYPE    = "date"
	NUMBER_TYPE  = "number"
	DEFUALT      = "text"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}
var ConfigPointer *Config = nil

func NewConfig

func NewConfig(path string) *Config

func (*Config) Close

func (c *Config) Close()

func (*Config) Get

func (c *Config) Get() *[]Field

func (*Config) Init

func (c *Config) Init()

func (*Config) Parse

func (c *Config) Parse() *[]Field

type Field

type Field struct {
	Name string `json:"field_name"`
	Type string `json:"type"`
}

type Output

type Output struct {
	// contains filtered or unexported fields
}
var OutputPointer *Output = &Output{}

func NewOutput

func NewOutput() *Output

func (*Output) Close

func (o *Output) Close()

func (*Output) Init

func (o *Output) Init()

func (*Output) Write

func (o *Output) Write(data *[]byte) int

Jump to

Keyboard shortcuts

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