flexible

package
v0.0.0-...-0b1034d Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "flexiblego"

Variables

This section is empty.

Functions

func DateTimeParserConstructor

func DateTimeParserConstructor(config map[string]interface{}, cache *registry.Cache) (analysis.DateTimeParser, error)

Types

type DateTimeParser

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

func New

func New(layouts []string) *DateTimeParser

func (*DateTimeParser) ParseDateTime

func (p *DateTimeParser) ParseDateTime(input string) (time.Time, error)

Jump to

Keyboard shortcuts

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