utils

package
v0.0.0-...-ca665c3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client = &http.Client{
	Timeout: time.Second * 2,
}

Client global http client for ddg

Functions

func GetJSON

func GetJSON(res *http.Response, target interface{}) error

GetJSON simplifies JSON decoding

Types

This section is empty.

Jump to

Keyboard shortcuts

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