mantis

package
v0.0.0-...-e6856b7 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Date

type Date time.Time

func (Date) MarshalCSV

func (d Date) MarshalCSV() ([]byte, error)

func (Date) MarshalText

func (d Date) MarshalText() ([]byte, error)

func (Date) Time

func (d Date) Time() time.Time

func (*Date) UnmarshalCSV

func (d *Date) UnmarshalCSV(data []byte) error

func (*Date) UnmarshalText

func (d *Date) UnmarshalText(text []byte) error

type DateFields

type DateFields struct {
	Date Date `csv:"Fecha"`
	Hour Hour `csv:"Hora"`
}

func (*DateFields) SetTime

func (df *DateFields) SetTime(t time.Time)

func (DateFields) Time

func (df DateFields) Time() time.Time

type Heat

type Heat struct {
	DateFields

	Event    String `csv:"Prueba"`
	Phase    String `csv:"Fase"`
	Series   String `csv:"Serie"`
	Comments String `csv:"Observaciones"`
}

func (Heat) Headers

func (h Heat) Headers() []string

func (Heat) KnownHeaders

func (h Heat) KnownHeaders() [][]string

type Hour

type Hour time.Time

func (Hour) MarshalCSV

func (h Hour) MarshalCSV() ([]byte, error)

func (Hour) MarshalText

func (h Hour) MarshalText() ([]byte, error)

func (Hour) Time

func (d Hour) Time() time.Time

func (*Hour) UnmarshalCSV

func (h *Hour) UnmarshalCSV(data []byte) error

func (*Hour) UnmarshalText

func (h *Hour) UnmarshalText(text []byte) error

type String

type String string

func (String) MarshalCSV

func (s String) MarshalCSV() ([]byte, error)

func (String) String

func (s String) String() string

func (*String) UnmarshalCSV

func (s *String) UnmarshalCSV(data []byte) error

Jump to

Keyboard shortcuts

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