pkg

package
v0.0.0-...-192ab82 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecGist

func ExecGist(ctx context.Context, name string, args []string) error

func GetExecutor

func GetExecutor(file *github.File, ctx context.Context) (executors.Executor, error)

func ParseArgs

func ParseArgs(args string) (string, string, error)

return the username and the gist name or id

func SearchForGistFile

func SearchForGistFile(username string, gistName string, ctx context.Context) (*github.File, *github.Gist, error)

Types

type GistRequest

type GistRequest struct {
	ApiEndpoint string
	User        string
	GistName    string

	Gist          *github.Gist
	ExecutionFile *github.File
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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