hour

package
v0.0.0-...-a449dc4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bill

func Delete

func Delete(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func List

func Load

func Save

Types

type Hour

type Hour struct {
	Project string `validate:"slug,nonzero"`
	Name    string `validate:"slug,nonzero"`
	Status  string `validate:"slug,nonzero"`
	Total   string `validate:"qty,nonzero"`
	Lines   []struct {
		Day         string  `validate:"date,nonzero"`
		Start       string  `validate:"time,nonzero"`
		Stop        string  `validate:"time,nonzero"`
		Hours       float64 `validate:"uint,nonzero"`
		Description string
	}
}

Jump to

Keyboard shortcuts

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