apis

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpGet

func HttpGet(httpClient *http.Client, fullURL string, headers map[string]string) (string, error)

httpGet run http get command and return response as string

Types

type Commit added in v0.0.6

type Commit struct {
	SHA       string    `json:"sha"`
	Author    Committer `json:"author"`
	Committer Committer `json:"committer"`
	Message   string    `json:"message"`
	Files     []Files   `json:"files"`
}

type Committer added in v0.0.6

type Committer struct {
	Name  string    `json:"name"`
	Email string    `json:"email"`
	Date  time.Time `json:"date"`
}

type Files added in v0.0.6

type Files struct {
	FileSHA  string `json:"sha"`
	Filename string `json:"filename"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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