git

package
v1.434.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound for git.

func NewClient

func NewClient(params ClientParams) *github.Client

NewClient for git.

Types

type ClientParams

type ClientParams struct {
	fx.In

	Config    *http.Config
	Logger    *zap.Logger
	Endpoint  Endpoint
	Tracer    trace.Tracer
	Meter     metric.Meter
	UserAgent env.UserAgent
}

ConfigParams for git.

type Endpoint

type Endpoint string

Endpoint for GitHub.

func NewEndpoint

func NewEndpoint() Endpoint

NewEndpoint for GitHub.

func (Endpoint) IsSet

func (e Endpoint) IsSet() bool

IsSet for GitHub.

Jump to

Keyboard shortcuts

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