domain

package
v0.0.0-...-40fc3ee Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reaction

type Reaction struct {
	ID          bson.ObjectId `json:"id" bson:"_id,omitempty"`
	PersonID    bson.ObjectId `json:"person_id" bson:"person_id,omitempty"`
	Details     string        `json:"details" bson:"details,omitempty"`
	Description string        `json:"description" bson:"description,omitempty"`
	Type        string        `json:"type" bson:"type,omitempty"`
	Date        time.Time     `json:"timestamp" bson:"timestamp,omitempty"`
}

Reaction ...

func NewReaction

func NewReaction(person, details, description, typ string) *Reaction

NewReaction creates a new Reaction!

Jump to

Keyboard shortcuts

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