v2023

package
v0.0.0-...-b2ed17c Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Geotag

type Geotag struct {
	Elapsed   int32   `json:"elapsed"`
	Latitude  float64 `json:"latitude"`
	Longitude float64 `json:"longitude"`
	FarmNum   uint8   `json:"farm_num"`
	Directory string  `json:"directory"`
}

type Response

type Response struct {
	Tag     string `json:"tag"`
	Results []struct {
		Lat  float64 `json:"lat"`
		Lon  float64 `json:"lon"`
		Date string  `json:"date"`
		Url  string  `json:"url"`
	} `json:"results"`
}

https://ohkilab.github.io/SU-CSexpA/content/part3/part3_final_assignment/final_assignment_details.html#geotag-csv

type Tag

type Tag struct {
	TagName string    `json:"tag_name"`
	Geotags []*Geotag `json:"geotags"`
}

type Validator

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

func NewValidator

func NewValidator(logger *slog.Logger) *Validator

func (*Validator) Validate

func (v *Validator) Validate(uri *url.URL, b []byte) error

Jump to

Keyboard shortcuts

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