commonutils

package
v0.10.0-rc.9 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeJSONWithHresult

func DecodeJSONWithHresult(r io.Reader, v interface{}) error

DecodeJSONWithHresult decodes the JSON from the given reader into the given interface, and wraps any error returned in an HRESULT error.

func UnmarshalJSONWithHresult

func UnmarshalJSONWithHresult(data []byte, v interface{}) error

UnmarshalJSONWithHresult unmarshals the given data into the given interface, and wraps any error returned in an HRESULT error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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