util

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IsDebug bool
)

Functions

func ErrorHandler

func ErrorHandler(err error) string

ErrorHandler returns a string with the error message, if debug mode is enabled, it will return the full error with details.

func FlagParser

func FlagParser() (string, error)

FlagParser parses the -flags and returns the anime name

func Helper

func Helper()

Helper prints the help message

func TreatingAnimeName

func TreatingAnimeName(animeName string) string

TreatingAnimeName removes special characters and spaces from the anime name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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