impl

package
v0.0.0-...-ce7ef54 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: BSD-2-Clause-Patent Imports: 16 Imported by: 0

Documentation

Overview

package impl implements a Magit client.

Copyright 2023 GitBundle Inc. All rights reserved.

Copyright 2023 GitBundle Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(uri string) (*api.Client, error)

New returns a new Magit API client.

func NewDefault

func NewDefault() *api.Client

Types

type Attachment

type Attachment struct {
	ID            int64     `json:"id"`
	Name          string    `json:"name"`
	Size          int64     `json:"size"`
	DownloadCount int64     `json:"download_count"`
	Created       null.Time `json:"created_at"`
	UUID          string    `json:"uuid"`
	DownloadURL   string    `json:"browser_download_url"`
}

type ListOptions

type ListOptions struct {
	Page     int
	PageSize int
}

type ReleaseInput

type ReleaseInput struct {
	TagName      string `json:"tag_name"`
	Target       string `json:"target_commitish"`
	Title        string `json:"name"`
	Note         string `json:"body"`
	IsDraft      bool   `json:"draft"`
	IsPrerelease bool   `json:"prerelease"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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