tempfile

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package tempfile resolves pre-seeded temperatures from .remindb/temperatures.json.

Index

Constants

View Source
const (
	FileName = "temperatures.json"
	Path     = config.DirName + "/" + FileName
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func Load

func Load(dir string) (*Resolver, error)

Read <dir>/.remindb/temperatures.json; (nil, nil) if the file is absent.

func (*Resolver) Resolve

func (r *Resolver) Resolve(relPath string) (float64, bool)

Jump to

Keyboard shortcuts

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