package
0.2.1
Repository: https://github.com/ritchies/ctftool.git
Documentation: pkg.go.dev

# Functions

CleanCTFEvents takes in a slice of Event structs and performs several clean up operations on the slice.
CleanDescription takes in a string and removes any unnecessary new lines and ensures that the string is no longer than 1024 characters.
GetCTFEvent takes in an integer 'id' and returns an Event struct, along with any error that may have occurred.
GetCTFEvents retrieves CTF events from the ctftime API within the next 180 days.
GetCTFTeam takes in an id and returns a CTFTeam struct, along with any error that may have occurred.
Get the top teams on CTFTime.
IsActive takes in an Event and returns whether the event is currently active or not based on the current time.

# Structs

Struct for API Endpoint ctftime.org/api/v1/teams/.
Struct for API Endpoint ctftime.org/api/v1/events/.
No description provided by the author
No description provided by the author