gapiutil

package
v0.0.0-...-a13fb77 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package gapiutil provides utilities to be used with the Google api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreErrorWithCode

func IgnoreErrorWithCode(err error, code int) error

IgnoreErrorWithCode return nil if the error has the same error code and err otherwise.

func IsErrorWithCode

func IsErrorWithCode(err error, code int) bool

IsErrorWithCode returns true if the error contains the gapi code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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