Coords

package
v0.0.0-...-83b3ea5 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coords

type Coords struct {
	X int
	Y int
}

func (Coords) MarshalJSON

func (c Coords) MarshalJSON() ([]byte, error)

MarshalJSON Fonction pour encoder le type Coords en JSON (Obligatoire pour la librairie json ¯\_(ツ)_/¯)

func (*Coords) UnmarshalJSON

func (c *Coords) UnmarshalJSON(data []byte) error

UnmarshalJSON Fonction pour décoder le type Coords depuis JSON (De même)

Jump to

Keyboard shortcuts

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