host-event-handler

command module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: LGPL-3.0 Imports: 4 Imported by: 0

README

Host Event Handler

VSCode Configuration

Debug

To be able to debug the please create a launch.json file under .vscode folder and add the following configuration:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch cli",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "args": [
                // Your github personal access token (PAT)
                // To know how to generate a PAT follow the link https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
                "-github-token=GITHUB_TOKEN",
                // File path to the event payload
                // To know more about the event payload follow the link https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
                "-event-payload=FILE_PATH_TO_EVENT_PAYLOAD"
            ],
            "program": "${workspaceFolder}/cmd/cli/main.go"
        }
    ]
}
License

Please install the extension licenser and add the following settings to your workspace.

{
    "licenser.license": "Custom",
    "licenser.author": "Explore.dev, Unipessoal Lda",
    "licenser.customHeader": "Copyright (C) @YEAR@ @AUTHOR@ - All Rights Reserved\nUse of this source code is governed by a license that can be\nfound in the LICENSE file.",
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
cli command

Jump to

Keyboard shortcuts

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