utils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeserialiseRequest

func DeserialiseRequest(v interface{}, body io.Reader) (interface{}, error)

DeserialiseRequest deserialises a response body into the provided interface object.

func PrettyPrintJson

func PrettyPrintJson(v interface{})

func UnmarshalResponse

func UnmarshalResponse(v interface{}, b []byte) (interface{}, error)

UnmarshalResponse unmarshals a response body into the provided interface object.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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