domain

package
v0.0.0-...-6452c0a Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Planet

type Planet struct {
	ID        int           `json:"id" db:"id"`
	Name      string        `json:"name" db:"name"`
	Climate   string        `json:"climate" db:"climate"`
	Terrain   string        `json:"terrain" db:"terrain"`
	Films     []domain.Film `json:"films" db:"films"`
	CreatedAt time.Time     `json:"created_at" db:"created_at"`
	UpdatedAt time.Time     `json:"updated_at" db:"updated_at"`
}

func (Planet) String

func (d Planet) String() string

Jump to

Keyboard shortcuts

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