cron

package
v0.0.4-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package cron contains cron job shchedulers and timing utilities

For a full guide visit https://github.com/mcereal/botty

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ElapsedTime

func ElapsedTime(s time.Time, d int) (bool, string)

ElapsedTime checks the amount of time it has been since a PR was opned and returns true if the duration has exceeded limits

func GetOpenPrs

func GetOpenPrs()

GetOpenPrs gets Github PRs

func ScheduleCron

func ScheduleCron()

ScheduleCron triggers github api calls on a cadence

Types

This section is empty.

Jump to

Keyboard shortcuts

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