github

package
v0.0.0-...-af25eba Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBasicAuthClient

func NewBasicAuthClient(ctx context.Context, log *logrus.Logger, username, password string) (*github.Client, error)

NewBasicAuthClient 產生一個 BasicAuth 的 GitHub Client, 並且會檢查完 OTP

func NewTokenClient

func NewTokenClient(ctx context.Context, token string) (*github.Client, error)

NewTokenClient 產生一個 Token 的 GitHub Client

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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