utils

package
v0.0.0-...-f2e9e6c Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActivityFields = map[string][]string{
	"hike":  {"Mountain", "Location", "Description"},
	"climb": {"Route", "Length", "Description"},
}
View Source
var InitDB = dbPtr.init(dbDir)

Functions

func GetActivityDates

func GetActivityDates(activityType string) []string

func PrintActivity

func PrintActivity(date string, activity map[string]interface{})

func PrintDirectories

func PrintDirectories(path string)

Types

type JsonDB

type JsonDB struct {
	Directory string
	Driver    *scribble.Driver
}

Jump to

Keyboard shortcuts

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