github_issue

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenIssue

func OpenIssue(ghToken, title, description string, isFeatureRequest bool) (string, error)

OpenIssue

@brief:

OpenIssue open an issue on in Terrap's repository

@params:

ghToken - string - the GitHub token to use
title - string - the issue title
description - string - the problem / feature request title
isFeatureRequest - bool - is a feature request

@returns:

string - the new issue number
error - if exists

Types

type RateError

type RateError struct {
	// contains filtered or unexported fields
}

RateError represents a case where the amount of GitHub url calls allowed per hour was exceeded

func (RateError) Error

func (e RateError) Error() string

Error

@brief:

Error implementation of the error interface

@returns:

string - the error itself

func (*RateError) Unwrap

func (e *RateError) Unwrap() error

Unwrap

@brief:

Unwrap returns the wrapped error, if any.

@returns:

error

Jump to

Keyboard shortcuts

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