util

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 10 Imported by: 4

Documentation

Overview

Package util supports specific parsing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoReq

func DoReq(req *http.Request) (body []byte, err error)

DoReq HTTP client

func ISODate added in v1.3.0

func ISODate(t time.Time) string

ISODate returns ISO date format like "2018-11-23"

func InvokeChromedp added in v1.2.0

func InvokeChromedp(url, qeury string, sec int, buffer *string) (err error)

InvokeChromedp for scraping AJAX page

func ParseOptions

func ParseOptions(options *types.Options) (params []string)

ParseOptions returns parsed param list

func ToFloat

func ToFloat(rawFloat string) float64

ToFloat helper for parsing strings to float

func ToInt

func ToInt(rawInt string) int

ToInt helper for parsing strings to int

Types

This section is empty.

Jump to

Keyboard shortcuts

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