github

package
v0.0.0-...-7ff0bef Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package github interacts with the github API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New() (*Client, error)

func (*Client) FetchJSON

func (c *Client) FetchJSON(ctx context.Context, url string, target any) error

func (*Client) FetchMarkdown

func (c *Client) FetchMarkdown(ctx context.Context, url string) (string, error)

func (*Client) FetchYaml

func (c *Client) FetchYaml(ctx context.Context, url string, target any) error

Jump to

Keyboard shortcuts

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