git

package
v0.0.0-...-806d58d Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildHttpClient

func BuildHttpClient(config *cfg.Config) (*http.Client, error)

HTTPクライアントを構築する。

Types

type GitService

type GitService interface {
	// プルリクエストの情報を取得してCSVデータに変換して返す。
	ParsePullRequest() (*csv.CsvData, error)
}

Gitホスティングサービスに対する操作をまとめたinterface。

func BuildGitService

func BuildGitService(config *cfg.Config, httpClient *http.Client) (GitService, error)

指定されたGitホスティングサービスに合わせてGitServiceを構築する。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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