models

package
v0.0.0-...-eb5cc7f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Journey

type Journey struct {
	JourneyID   uint64
	UserID      uint64
	Address     string
	Description string
	StartTime   time.Time
	EndTime     time.Time
}

Journey - represents the journey description object

func NewJourney

func NewJourney(journeyID uint64, userID uint64, address string, description string, startTime time.Time, endTime time.Time) *Journey

NewJourney - creates new Journey object using arguments

func (*Journey) String

func (j *Journey) String() string

Jump to

Keyboard shortcuts

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