utils

package
v0.0.0-...-89f4574 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsApproved

func IsApproved(issue *maintner.GitHubIssue) bool

IsApproved considers a GitHubIssue, loops through the Review Events on the issue and, for each reivewer, if the last review event was an "approved" event it returns true if there are no reviews, this return false

func UnmarshalBool

func UnmarshalBool(bytes json.RawMessage) *bool

UnmarshalBool takes a json.RawMessage and deserializes it to a bool. If bytes is nil or, equal to "null" then will return nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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