util

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogApiResponseErrs

func LogApiResponseErrs(errs []string)

LogApiResponseErrs ensures a standard way to log errors from api responses.

func SignIn added in v0.2.0

func SignIn(email, password string) (*http.Response, error)

Shortcut function to make a sign-in request. It won't parse the response but will make the repetitive and boring request setup better.

func UpdateEmail added in v0.2.0

func UpdateEmail(newEmail, accessToken string) (*http.Response, error)

Utility function to update the email of an account given a valid access token.

Types

This section is empty.

Jump to

Keyboard shortcuts

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