utils

package
v0.0.0-...-f66e25d Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CefMddDir

func CefMddDir() string

func Error_check

func Error_check(err error, i_s string)

func FileExists

func FileExists(name string) (isReq bool, err error)

func Formatted_parser

func Formatted_parser(v string) (err error)

func GetFirst3CefFilenameParts

func GetFirst3CefFilenameParts() (observatory, data_type, experiment string, err error)

func Get_time_range

func Get_time_range(v string) (t0, t1 time.Time, err error)

func Integer_parser

func Integer_parser(v string) (err error)

func Is_Numerical

func Is_Numerical(v string) bool

func Is_quoted_string

func Is_quoted_string(s string) (r bool)

func Iso_time

func Iso_time(v string) (time.Time, error)

func Iso_time_parser

func Iso_time_parser(v string) (err error)

func Iso_time_range_parser

func Iso_time_range_parser(v string) (err error)

func Iso_time_range_parser_allow_equal

func Iso_time_range_parser_allow_equal(v string) (err error)

func Numerical_parser

func Numerical_parser(v string) (err error)

func On_enum_description_error

func On_enum_description_error(i_keyword, i_value string) (err error)

func On_enum_not_found_error

func On_enum_not_found_error(i_keyword string) (err error)

func On_enum_parser_error

func On_enum_parser_error(i_keyword, i_value string) (err error)

func On_parser_error

func On_parser_error(i_parser, i_value string) (err error)

func SizesProduct

func SizesProduct(sizes []string) (product int64, err error)

func String_matcher_test

func String_matcher_test(v0 string) (f func(v1 string) (err error))

func String_parser

func String_parser(v string) (err error)

func Text_parser

func Text_parser(v string) (err error)

func Trim_quoted_string

func Trim_quoted_string(s string) string

func UserHomeDir

func UserHomeDir() string

func ValueTypeParserFunc

func ValueTypeParserFunc(vt string) (f func(string) error, err error)

Types

type CefArgs

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

func GetCefArgs

func GetCefArgs() CefArgs

func NewCefArgs

func NewCefArgs() (CefArgs, error)

func (CefArgs) Dump

func (a1s CefArgs) Dump()

func (CefArgs) GetCefPath

func (a1s CefArgs) GetCefPath() string

func (CefArgs) GetFilename

func (a1s CefArgs) GetFilename() string

func (CefArgs) GetIncludes

func (a1s CefArgs) GetIncludes() strslice

func (CefArgs) GetInfo

func (a1s CefArgs) GetInfo() bool

func (CefArgs) GetMaxRecords

func (a1s CefArgs) GetMaxRecords() int

Jump to

Keyboard shortcuts

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