domain

package
v0.0.0-...-f01d026 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Climates

type Climates []string

type Film

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

func NewFilm

func NewFilm(title string, releaseDate time.Time) *Film

func (Film) ReleaseDate

func (f Film) ReleaseDate() time.Time

func (Film) Title

func (f Film) Title() string

type Films

type Films []Film

type Planet

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

func NewPlanet

func NewPlanet(name string) Planet

func (Planet) Climates

func (p Planet) Climates() []string

func (*Planet) CreatedAt

func (p *Planet) CreatedAt() time.Time

func (Planet) Films

func (p Planet) Films() Films

func (Planet) ID

func (p Planet) ID() PlanetID

func (Planet) Name

func (p Planet) Name() string

func (*Planet) SetClimates

func (p *Planet) SetClimates(cc Climates)

func (*Planet) SetFilms

func (p *Planet) SetFilms(ff Films)

func (*Planet) SetTerrains

func (p *Planet) SetTerrains(tt Terrains)

func (Planet) Terrains

func (p Planet) Terrains() []string

func (*Planet) UpdateAt

func (p *Planet) UpdateAt() *time.Time

type PlanetID

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

func (PlanetID) String

func (p PlanetID) String() string

type Terrains

type Terrains []string

Jump to

Keyboard shortcuts

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