cmd

package
v0.0.0-...-f71a3e0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ldflags set by GoReleaser
	Version = "unknown"
	Commit  = "unknown"
)

Functions

func Execute

func Execute()

Types

type ByDate

type ByDate []Personne

func (ByDate) Len

func (slice ByDate) Len() int

func (ByDate) Less

func (slice ByDate) Less(left, right int) bool

func (ByDate) Swap

func (slice ByDate) Swap(left, right int)

type CatégoriePersonne

type CatégoriePersonne int
const (
	CatégoriePersonnePiéton CatégoriePersonne = iota
	CatégoriePersonneCycliste
	CatégoriePersonneAutre
)

func (CatégoriePersonne) MarshalJSON

func (catégoriePersonne CatégoriePersonne) MarshalJSON() ([]byte, error)

func (CatégoriePersonne) String

func (catégoriePersonne CatégoriePersonne) String() string

type CommuneOpts

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

type Opts

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

type Personne

type Personne struct {
	Date                       string
	Adresse                    string
	Latitude                   string
	Longitude                  string
	CatégorieDePersonne        CatégoriePersonne
	Gravité                    dataset.Gravité
	AnnéeDeNaissance           int
	Sexe                       dataset.Sexe
	VéhiculeQuiAHeurtéLePiéton string
}

func (Personne) AsJson

func (personne Personne) AsJson() (string, error)

type PersonneNonPiéton

type PersonneNonPiéton struct {
	Date                string
	Adresse             string
	Latitude            string
	Longitude           string
	CatégorieDePersonne CatégoriePersonne
	Gravité             dataset.Gravité
	AnnéeDeNaissance    int
	Sexe                dataset.Sexe
}

func (PersonneNonPiéton) AsJson

func (personneNonPiéton PersonneNonPiéton) AsJson() (string, error)

Jump to

Keyboard shortcuts

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