utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DateConverter

func DateConverter(inputDateTime string) (string, string)

func FindAllInputFiles

func FindAllInputFiles(inputFolder string) []string

func GetFileContent

func GetFileContent(filePath string) ([][]string, error)

Types

type Table

type Table struct {
	Filename        string
	Date            string
	Time            string
	DateTime        string
	DateTimeLayout  string
	RawTable        [][]string
	DateRowNumber   int
	RowNumberToKeep []int
}

func InitializeTable

func InitializeTable(filename string, tableContent [][]string) Table

func (*Table) ConvertData

func (t *Table) ConvertData() [][]string

func (*Table) GetDateRowNumber

func (t *Table) GetDateRowNumber() int

func (*Table) GetRowNumbers

func (t *Table) GetRowNumbers() []int

Jump to

Keyboard shortcuts

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