models

package
v0.0.0-...-84d9a14 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flatten

func Flatten[T comparable](mapToFlatten []map[string]T) map[string]T

Flatten takes a slice of maps and returns a single map effectively flattening the input

Types

type Intervention

type Intervention struct {
	Guid         string               `json:"guid"`
	Site         string               `json:"site"`
	Descriptions []string             `json:"descriptions"`
	Materials    []string             `json:"materials"`
	Workers      []map[string]float32 `json:"workers"`
	Notes        string               `json:"notes"`
	Timestamp    string               `json:"timestamp"`
}

Jump to

Keyboard shortcuts

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