script

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

func PostEvent

func PostEvent(content map[string]any, researchID string)

func ReadCSVFile

func ReadCSVFile(filePath string) [][]string

Types

type BattleCSVImport

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

func NewBattleCSVImport

func NewBattleCSVImport(path string) *BattleCSVImport

func (*BattleCSVImport) Run

func (c *BattleCSVImport) Run() error

type ColumnHandler

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

func GetColumnHandler

func GetColumnHandler() *ColumnHandler

func (*ColumnHandler) HandleBand

func (c *ColumnHandler) HandleBand(input string) string

func (*ColumnHandler) HandleBool

func (c *ColumnHandler) HandleBool(input string) null.Bool

func (ColumnHandler) HandleIncidentType

func (c ColumnHandler) HandleIncidentType(input string) string

func (*ColumnHandler) HandleInt

func (c *ColumnHandler) HandleInt(input string) null.Int

func (ColumnHandler) HandleLayout

func (c ColumnHandler) HandleLayout(input string) string

func (*ColumnHandler) HandleNodeType

func (c *ColumnHandler) HandleNodeType(input string) string

func (ColumnHandler) HandleRecruitTickets

func (c ColumnHandler) HandleRecruitTickets(input1 string, input2 string) [][]string

func (ColumnHandler) HandleRestChoices

func (c ColumnHandler) HandleRestChoices(input string) []string

func (ColumnHandler) HandleTotems

func (c ColumnHandler) HandleTotems(input string) []string

func (ColumnHandler) HandleVariation

func (c ColumnHandler) HandleVariation(input string) string

type IncidentCSVImport

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

func NewIncidentCSVImport

func NewIncidentCSVImport(path string) *IncidentCSVImport

func (*IncidentCSVImport) Run

func (c *IncidentCSVImport) Run() error

type PortalCSVImport

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

func NewPortalCSVImport

func NewPortalCSVImport(path string) *PortalCSVImport

func (*PortalCSVImport) Run

func (c *PortalCSVImport) Run() error

type RestCSVImport

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

func NewRestCSVImport

func NewRestCSVImport(path string) *RestCSVImport

func (*RestCSVImport) Run

func (c *RestCSVImport) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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