farms

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFarmByID

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

func GetFarms

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

Types

type Farm

type Farm struct {
	ID              int    `json:"id"`
	Name            string `json:"name"`
	Location        string `json:"location"`
	DateEstablished string `json:"date_established"`
	Latitude        string `json:"latitude"`
	Longitude       string `json:"longitude"`
}

Jump to

Keyboard shortcuts

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