scraperutil

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToExistedCollection

func AddToExistedCollection(c model.FightersCollection)

func CreateNewCollection

func CreateNewCollection(c model.FightersCollection)

func GetDebutTimestamp

func GetDebutTimestamp(octagonDebut string) int

getDebutTimestamp parses the octagon debut date provided in the format "Jan. 2, 2006" and returns its Unix timestamp.This function is used to convert the debut date of a fighter in the octagon into a Unix timestamp for further processing.

func GetLoggerFlag

func GetLoggerFlag(toAdd bool) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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