AwGo — A Go library for Alfred workflows

Overview
AwGo Logo

AwGo — A Go library for Alfred workflows

Build Status Go Report Card Coverage Status Go Reference

Full-featured library to build lightning-fast workflows in a jiffy.

Features

Installation & usage

Install AwGo with:

go get -u github.com/deanishe/awgo

Typically, you'd call your program's main entry point via Workflow.Run(). This way, the library will rescue any panic, log the stack trace and show an error message to the user in Alfred.

program.go:

package main

// Package is called aw
import "github.com/deanishe/awgo"

// Workflow is the main API
var wf *aw.Workflow

func init() {
    // Create a new Workflow using default settings.
    // Critical settings are provided by Alfred via environment variables,
    // so this *will* die in flames if not run in an Alfred-like environment.
    wf = aw.New()
}

// Your workflow starts here
func run() {
    // Add a "Script Filter" result
    wf.NewItem("First result!")
    // Send results to Alfred
    wf.SendFeedback()
}

func main() {
    // Wrap your entry point with Run() to catch and log panics and
    // show an error in Alfred instead of silently dying
    wf.Run(run)
}

In the Script Filter's Script box (Language = /bin/bash with input as argv):

./program "$1"

Documentation

Read the docs on pkg.go.dev.

Check out the example workflows (docs), which show how to use AwGo. Use one as a template to get your own workflow up and running quickly.

Requirements

The library (and therefore the unit tests) rely on being run in a minimally Alfred-like environment, as they pull configuration options from the environment variables set by Alfred.

This means that if you want to run AwGo-based code outside Alfred, e.g. in your shell, you must set at least the following environment variables to meaningful values, or the library will panic:

  • alfred_workflow_bundleid
  • alfred_workflow_cache
  • alfred_workflow_data

And if you're using the update API, also:

  • alfred_workflow_version
  • alfred_version (not needed for Alfred 4+)

Development

To create a sufficiently Alfred-like environment, you can source the env.sh script in the project root or run unit tests via the run-tests.sh script (which also sets up an appropriate environment before calling go test).

Licensing & thanks

This library is released under the MIT licence. It was built with neovim and GoLand by JetBrains.

The icon is based on the Go Gopher by Renee French.

Comments
  • Split out `fuzzy` package as a separate repo

    Split out `fuzzy` package as a separate repo

    I'm using your great fuzzy package to do some sorting in one of my projects, but I'm not using the rest of the codebase. Is there any chance you'd split out the fuzzy package to its own repo/module so it can be consumed independently?

    enhancement 
    opened by zikaeroh 4
  • Remove `BundleID` requirement for import

    Remove `BundleID` requirement for import

    The choice of design on this line makes this package and any program that uses it unnecessarily hard to test. It gives no opportunity to check and prepare for a testing situation programmatically before awgo is imported.

    A better approach would be to have a function like this:

    func InitWorkflow() {
    	wf = New()
    }
    

    This gives users an opportunity to set the environment variables in env.sh for testing after the package is imported. Here is one approach:

    func main() {
    	if len(os.Args) < 2 {
    		InitEnvShVariables()
    	}
    	aw.InitWorkflow()
    	aw.Run(run)
    }
    

    The way it is currently set up, I'm blocked by the BundleID error immediately on import if I run my program in a testing environment outside of Alfred without first running env.sh.

    I'm currently trying to edit logic in my program that has nothing to do with awgo so it is annoying to be blocked by it simply because I'm importing it.

    enhancement 
    opened by drgrib 4
  • go get error

    go get error

    ❯ go get -u github.com/deanishe/awgo
    # github.com/deanishe/awgo/keychain
    ../go/src/github.com/deanishe/awgo/keychain/keychain.go:82:26: cmd.ProcessState.ExitCode undefined (type *os.ProcessState has no field or method ExitCode)
    
    opened by zhengweidi 3
  • Would it be possible to show the changelog of what was added in the Update?

    Would it be possible to show the changelog of what was added in the Update?

    When updating a workflow, it would be really nice to know what exactly was changed. Usually you add this change log to the release itself. However when updating, users just download the new workflow and that's it.

    Perhaps it would be nice to direct users and open the URL of the latest release when updating so they see what was changed?

    opened by nikitavoloboev 3
  • Upgrade to GitHub-native Dependabot

    Upgrade to GitHub-native Dependabot

    Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then.

    Dependabot has been fully integrated into GitHub, so you no longer have to install and manage a separate app. This pull request migrates your configuration from Dependabot.com to a config file, using the new syntax. When merged, we'll swap out dependabot-preview (me) for a new dependabot app, and you'll be all set!

    With this change, you'll now use the Dependabot page in GitHub, rather than the Dependabot dashboard, to monitor your version updates, and you'll configure Dependabot through the new config file rather than a UI.

    If you've got any questions or feedback for us, please let us know by creating an issue in the dependabot/dependabot-core repository.

    Learn more about migrating to GitHub-native Dependabot

    Please note that regular @dependabot commands do not work on this pull request.

    dependencies 
    opened by dependabot-preview[bot] 2
  • Bump golang.org/x/text from 0.3.5 to 0.3.6

    Bump golang.org/x/text from 0.3.5 to 0.3.6

    Bumps golang.org/x/text from 0.3.5 to 0.3.6.

    Commits
    • e328d63 language: fix off-by-one error
    • e3aa4ad language: allow variable number of types per key in -u- extension
    • 8f690f2 all: go fmt ./...
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 2
  • Bump github.com/bmatcuk/doublestar from 1.3.1 to 1.3.2

    Bump github.com/bmatcuk/doublestar from 1.3.1 to 1.3.2

    Bumps github.com/bmatcuk/doublestar from 1.3.1 to 1.3.2.

    Release notes

    Sourced from github.com/bmatcuk/doublestar's releases.

    Fixed bug clobbering results if Readdir fails

    If Readdir failed, doublestar was returning nil instead of the accumulated results. Thanks for the bug report @InfiniteTF!

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 2
  • go get error with go 1.14.1 on MacOS 10.15.5

    go get error with go 1.14.1 on MacOS 10.15.5

    Run following cmd inside a go mod enabled project folder go get -u github.com/deanishe/awgo

    I got below error message

    go: github.com/go-toolsmith/astp upgrade => v1.0.0 github.com/golangci/golangci-lint/pkg/golinters ../../../../../pkg/mod/github.com/golangci/[email protected]/pkg/golinters/gofumpt.go:49:41: cannot use "" (type string) as type format.Options in argument to format.Source

    bug 
    opened by AllenDang 2
  • Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.1

    Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.1

    Bumps github.com/golangci/golangci-lint from 1.27.0 to 1.28.1.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.28.1

    Changelog

    dfa0013 Fix: goheader linter can throw nil pointer exception in case of a source file has not issues (#1209) d24bff5 Fixed docs link: points at contributing section (#1212) fbce520 To enable v1.28 in github action (#1207) afa9be6 Use latest golangci-lint to lint golangci-lint (#1206)

    Docker images

    • docker pull golangci/golangci-lint:latest
    • docker pull golangci/golangci-lint:v1.28.1
    • docker pull golangci/golangci-lint:v1.28
    • docker pull golangci/golangci-lint:latest-alpine
    • docker pull golangci/golangci-lint:v1.28.1-alpine
    • docker pull golangci/golangci-lint:v1.28-alpine

    v1.28.0

    Changelog

    f1a46f9 Add Noctx (#1179) dc260be Add exportloopref linter (#1163) 01b566a Add go-header linter (#1181) b22e3f1 Added sqlclosecheck to linters (#1203) 38d298c Adding gofumpt (#1177) 954127e Build rpm and deb packages with goreleaser (#1196) 184bbf8 Bump goreleaser to v0.136.0 (#1198) ba6476a Fix syntax highlighting for bash scripts (#1151) 90a8cd4 Fix up nolintlint comments and urls (#1164) 5f0de29 Protect NewFilenameUnadjuster from concurrent map writes (#1192) b8216ca Update not found url in new-linters.mdx (#1171) 306cbb0 Upgrading to go-critic v0.5.0 (#1205) a85e1e1 action: enable v.1.27.0 for github action fa7adcb add ability to set issue severity (#1155) f3376ca add exhaustive linter (#1166) d7bf70a build(deps): bump github.com/bombsimon/wsl/v3 from 3.0.0 to 3.1.0 (#1137) 54f83ae build(deps): bump github.com/go-critic/go-critic from 0.4.1 to 0.4.3 (#1148) 09df97a build(deps): bump github.com/mattn/go-colorable from 0.1.4 to 0.1.6 (#1147) f338005 build(deps): bump github.com/sourcegraph/go-diff from 0.5.1 to 0.5.2 (#1136) a393ef7 build(deps): bump github.com/sourcegraph/go-diff from 0.5.2 to 0.5.3 (#1173) cd34a1e build(deps): bump github.com/spf13/viper from 1.6.1 to 1.7.0 (#1146) b784f44 build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 (#1174) 36a5a40 build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (#1183) 6bd04ab build(deps): bump github.com/valyala/quicktemplate from 1.2.0 to 1.5.0 (#1134)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 2
  • Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.0

    Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.0

    Bumps github.com/golangci/golangci-lint from 1.27.0 to 1.28.0.

    Release notes

    Sourced from github.com/golangci/golangci-lint's releases.

    v1.28.0

    Changelog

    f1a46f9 Add Noctx (#1179) dc260be Add exportloopref linter (#1163) 01b566a Add go-header linter (#1181) b22e3f1 Added sqlclosecheck to linters (#1203) 38d298c Adding gofumpt (#1177) 954127e Build rpm and deb packages with goreleaser (#1196) 184bbf8 Bump goreleaser to v0.136.0 (#1198) ba6476a Fix syntax highlighting for bash scripts (#1151) 90a8cd4 Fix up nolintlint comments and urls (#1164) 5f0de29 Protect NewFilenameUnadjuster from concurrent map writes (#1192) b8216ca Update not found url in new-linters.mdx (#1171) 306cbb0 Upgrading to go-critic v0.5.0 (#1205) a85e1e1 action: enable v.1.27.0 for github action fa7adcb add ability to set issue severity (#1155) f3376ca add exhaustive linter (#1166) d7bf70a build(deps): bump github.com/bombsimon/wsl/v3 from 3.0.0 to 3.1.0 (#1137) 54f83ae build(deps): bump github.com/go-critic/go-critic from 0.4.1 to 0.4.3 (#1148) 09df97a build(deps): bump github.com/mattn/go-colorable from 0.1.4 to 0.1.6 (#1147) f338005 build(deps): bump github.com/sourcegraph/go-diff from 0.5.1 to 0.5.2 (#1136) a393ef7 build(deps): bump github.com/sourcegraph/go-diff from 0.5.2 to 0.5.3 (#1173) cd34a1e build(deps): bump github.com/spf13/viper from 1.6.1 to 1.7.0 (#1146) b784f44 build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 (#1174) 36a5a40 build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 (#1183) 6bd04ab build(deps): bump github.com/valyala/quicktemplate from 1.2.0 to 1.5.0 (#1134) 5147255 build(deps): bump honnef.co/go/tools (#1145) 778e08f bump gomodguard version (#1140) fd0524f cache: fix warning (#1162) 8959cdc chore(deps): update github.com/djarvur/go-err113 commit hash to 5174e21 (#1099) 3be4269 chore(deps): update github.com/golangci/gocyclo commit hash to 0a533e8 (#1101) 3aee873 chore(deps): update module fatih/color to v1.9.0 (#1112) d01488e chore(deps): update module gofrs/flock to v0.7.1 (#1114) 7c33433 chore(deps): update module goreleaser/goreleaser to v0.134.0 (#1116) 55405f0 chore(deps): update module mitchellh/go-ps to v1 (#1127) 5bdeb74 chore(deps): update module pkg/errors to v0.9.1 (#1118) 6f45db7 chore(deps): update module sirupsen/logrus to v1.6.0 (#1120) 73a9aad chore(deps): update module spf13/cobra to v1 (#1129) b1f294b chore(deps): update module yaml to v2.3.0 (#1126) 3c46e16 fix invalid error message "no go files to analyze" (#1154) 7c2871c godot: add autofix mode 71b2f04 handle some block comment to detect generated files (#1161) 6684c8b update new-linters doc (#1167)

    Docker images

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 2
  • Bump golang.org/x/text from 0.3.2 to 0.3.3

    Bump golang.org/x/text from 0.3.2 to 0.3.3

    Bumps golang.org/x/text from 0.3.2 to 0.3.3.

    Commits
    • 23ae387 encoding/unicode: correctly handle single-byte UTF-16 inputs (and harden tran...
    • 3a82255 encoding/unicode: add UTF8BOM encoding
    • 81608d7 message, unicode/cldr: avoid string(int)
    • afb9336 number: fix typo
    • 6ca2caf unicode/bidi: fix typo in variable name
    • 06d492a unicode/norm: look for symbols in TestLinking
    • 929e72c message/pipeline: detect unknown keys
    • cbf43d2 message/pipeline: sort maps to generate predictable output
    • 09f8d73 message/pipeline: avoid writing to the testdata directory
    • 4b67af8 all: upgrade to Unicode 12
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 2
  • Provide a Workflow file for settings example

    Provide a Workflow file for settings example

    I need to setup some settings before my workflow can run but cannot get it working. Your settings example looks good but it would be really helpful to have the workflow file as a reference

    opened by v-braun 0
  • Unable to use

    Unable to use

    Hello,

    Since the python 2 deprecation, a lot of my useful workflows does not work anymore, so I decided to rewrite the most useful using awgo.

    I tried to install and make it run, but it fails :

    ~/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.4B2E1432-D6E1-414A-86B6-5A82D7DB37C2
    ❯ go get -u github.com/deanishe/awgo
    go: downloading github.com/deanishe/awgo v0.29.1
    go: downloading go.deanishe.net/env v0.5.1
    go: downloading go.deanishe.net/fuzzy v1.0.0
    go: downloading golang.org/x/text v0.3.6
    go: downloading github.com/magefile/mage v1.11.0
    go: downloading golang.org/x/text v0.3.7
    go: downloading github.com/magefile/mage v1.13.0
    
    ~/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.4B2E1432-D6E1-414A-86B6-5A82D7DB37C2 2m 56s
    ❯ go run main.go
    main.go:9:5: no required module provides package github.com/deanishe/awgo: go.mod file not found in current directory or any parent directory; see 'go help modules'
    

    It seems that I missed something, but I cannot figure out what. Can you help, please ?

    opened by loranger 2
  • Goroutine log doesn't appear in log file

    Goroutine log doesn't appear in log file

    Hi,

    I'm creating goroutines in a background job and I see the logs from the thread creating the goroutines but nothing from inside of the goroutines

    I'm not sure if this Is it intended/by design?

    opened by quentin-sommer 0
  • fix quicklook

    fix quicklook

    The MarshalIndent and Marshal method will translate the html characters in the quicklook field, which will cause the "&" symbol in the query field of the url in quicklook to be translated into "\u0026".

    image

    opened by clysto 0
  • Big Sur / M1 Issue - hanging

    Big Sur / M1 Issue - hanging

    When I try "Can you right-click on the Alfred Maestro workflow in Alfred, select Open in Terminal, run alfred_workflow_bundleid="net.deanishe.awgo" ./alfred-maestro command" all I get is - it seems to hang there and not do anything.

    🍺 14:32:30 ----------------- (AwGo/0.17.0) -----------------

    I've checked all the permissions and they seem ok. Not sure if a Big Sur or M1 Apple Silicon issue or something else

    opened by taylornd 0
An operator to support Haschicorp Vault configuration workflows from within Kubernetes

Vault Config Operator This operator helps set up Vault Configurations. The main intent is to do so such that subsequently pods can consume the secrets

null 2 Sep 30, 2022
An operator to support Haschicorp Vault configuration workflows from within Kubernetes

Vault Config Operator This operator helps set up Vault Configurations. The main intent is to do so such that subsequently pods can consume the secrets

Red Hat Communities of Practice 43 Nov 8, 2022
toghsh translates github actions workflows to shell scripts

togsh - extracts shell commands from github actions workflows toghsh is a helper tool to translate github action workflows into equivalent shell scrip

Francesco Romani 1 Nov 16, 2021
HTTP load testing tool and library. It's over 9000!

Vegeta Vegeta is a versatile HTTP load testing tool built out of a need to drill HTTP services with a constant request rate. It can be used both as a

Tomás Senart 20.5k Nov 27, 2022
Go library to create resilient feedback loop/control controllers.

Gontroller A Go library to create feedback loop/control controllers, or in other words... a Go library to create controllers without Kubernetes resour

Spotahome 148 Oct 31, 2022
Orchestra is a library to manage long running go processes.

Orchestra Orchestra is a library to manage long running go processes. At the heart of the library is an interface called Player // Player is a long ru

Stephen Afam-Osemene 111 Oct 21, 2022
Testcontainers is a Golang library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests.

When I was working on a Zipkin PR I discovered a nice Java library called Testcontainers. It provides an easy and clean API over the go docker sdk to

null 1.7k Nov 23, 2022
Automated configuration documentation library for Go Projects.

Cato Cato is an automated documentation generation library for Go Projects. Through the use of custom tags for struct fields, Cato can extract informa

CS3 Organization 6 Aug 28, 2020
Gohalt 👮‍♀🛑: Fast; Simple; Powerful; Go Throttler library

Gohalt ??‍♀ ?? : Fast; Simple; Powerful; Go Throttler library go get -u github.com/1pkg/gohalt Introduction Gohalt is simple and convenient yet powerf

Kostiantyn Masliuk 257 Nov 27, 2022
A K8s ClusterIP HTTP monitoring library based on eBPF

Owlk8s Seamless RED monitoring of k8s ClusterIP HTTP services. This library provides RED (rate,error,duration) monitoring for all(by default but exclu

null 17 Jun 16, 2022
library to make building things with bitclout easy

cloutcli library to make building things with bitclout easy quick start demo cmd $ ./clout demo clout demo visualizegraph # make clout.gv graph fi

Andrew Arrow 18 Jul 27, 2022
A Go library for the Linux Landlock sandboxing feature

Go landlock library The Go landlock library provides an interface to Linux 5.13's Landlock kernel sandboxing features. The library provides access to

Günther Noack 75 Nov 9, 2022
A simple and flexible health check library for Go.

Health A simple and flexible health check library for Go. Documentation · Report Bug · Request Feature Table of Contents Getting started Synchronous v

Alexander Liesenfeld 627 Nov 9, 2022
The DGL Operator makes it easy to run Deep Graph Library (DGL) graph neural network training on Kubernetes

DGL Operator The DGL Operator makes it easy to run Deep Graph Library (DGL) graph neural network distributed or non-distributed training on Kubernetes

Qihoo 360 43 Nov 2, 2022
The k8s-generic-webhook is a library to simplify the implementation of webhooks for arbitrary customer resources (CR) in the operator-sdk or controller-runtime.

k8s-generic-webhook The k8s-generic-webhook is a library to simplify the implementation of webhooks for arbitrary customer resources (CR) in the opera

Norwin Schnyder 8 Nov 16, 2022
ghcr images - Fetched from docker-library

ghcri ghcri is the repo for Github Container Registry Images. Just like docker-library for Docker Registry. Usage Replace all docker library from dock

null 17 Aug 15, 2022
Go library providing algorithms optimized to leverage the characteristics of modern CPUs

asm Go library providing algorithms optimized to leverage the characteristics of modern CPUs. Motivation With the development of Cloud technologies, a

Segment 776 Nov 26, 2022
runtime - an abstraction library on top of the Open Policy Agent (OPA)

runtime - an abstraction library on top of the Open Policy Agent (OPA) Introduction The "runtime" project is a library that sits on top of OPA. The go

 Aserto Inc 22 Nov 7, 2022
Go client library for Atlassian Jira

Go client library for Atlassian Jira

Andy Grunwald 1.2k Nov 25, 2022