Versions in this module Expand all Collapse all v1 v1.0.0 Dec 22, 2025 Changes in this version + const Lverbose + const R_COURSE_CODE + const R_DATE_MDY + const R_GRADE + const R_SECTION_CODE + const R_SUBJECT + const R_SUBJ_COURSE + const R_SUBJ_COURSE_CAP + const R_TERM_CODE + const R_TIME_AM_PM + const R_WEEKDAY + const R_YEARS + var Headless = true + func ConvertFromInterface[T string | float64](value any) *T + func GetAllFilesWithExtension(inDir string, extension string) []string + func GetCoursePrefixes(chromedpCtx context.Context) []string + func GetEnv(name string) (string, error) + func GetMapKeys[M ~map[K]V, K comparable, V any](m M) []K + func GetMapValues[M ~map[K]V, K comparable, V any](m M) []V + func InitChromeDp() (chromedpCtx context.Context, cancelFnc context.CancelFunc) + func RefreshAstraToken(chromedpCtx context.Context) map[string][]string + func RefreshToken(chromedpCtx context.Context) map[string][]string + func Regexpf(format string, vars ...interface{}) *regexp.Regexp + func Retry(action func() error, maxRetries int, retryCallback func(numRetries int)) error + func TrimWhitespace(text string) string + func VPrint(text string) + func VPrintf(format string, vars ...any) + func VPrintln(text string) + func WriteJSON(filepath string, data interface{}) error + type Logger struct + func NewLogger(out io.Writer, prefix string, flag int) *Logger + func (logger *Logger) VPrint(text string) + func (logger *Logger) VPrintf(format string, vars ...any) + func (logger *Logger) VPrintln(text string) + type SplitWriter struct + func NewSplitWriter(writers ...io.Writer) *SplitWriter + func (splitWriter *SplitWriter) Write(p []byte) (n int, err error)