util

package
v0.0.0-...-f6b255e Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 10 Imported by: 0

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

func ISODate(t time.Time) string

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

func InvokeChromedp

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