fields

package
v0.0.0-...-9b8362b Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllFields

func GetAllFields(w http.ResponseWriter, r *http.Request)

func GetFieldByID

func GetFieldByID(w http.ResponseWriter, r *http.Request)

func GetFieldsByFarmID

func GetFieldsByFarmID(w http.ResponseWriter, r *http.Request)

Types

type Field

type Field struct {
	ID        int     `json:"id"`
	FieldType string  `json:"type"`
	M2        float64 `json:"m2"`
	FarmID    string  `json:"farm_id"`
}

Jump to

Keyboard shortcuts

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