cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Sets up TeeTimeFinder config file for the user. Collects information such as: - Golf Course Names - URLs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigExists

func ConfigExists() bool

Checks if the config file exists

func CreateDir

func CreateDir() bool

Creates the .config/TeeTimeFinder directory if it doesn't exist

func Execute

func Execute()

Types

type CourseConfig

type CourseConfig struct {
	URL         string
	WebsiteType string
	Blacklisted bool
}

CourseConfig holds each course's URL and website type.

type CourseInfo

type CourseInfo struct {
	Name        string
	URL         string
	WebsiteType string
	Blacklisted bool
}

Jump to

Keyboard shortcuts

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