alco

package module
v0.0.0-...-fc52db1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 14 Imported by: 1

README

al-co

Alfred workflow utilities

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseQuery

func ParseQuery(arg string, opts interface{}) string

ParseQuery is a convenience function that parses a string into flags and a single arg. Flags are set using reflection (flags.ParseArgs) on an input struct. Any such flags are then parsed out of the original input before it is returned.

func Token

func Token(config *oauth2.Config, kc *keychain.Keychain) *oauth2.Token

Token attempts to retrieve a cached OAuth2 token for a given keychain. If none exists the OAuth2 flow is started for a given oauth2.Config. If a token is successfully retrieved it is cached.

Types

This section is empty.

Jump to

Keyboard shortcuts

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