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 Group

type Group struct {
	ID          bson.ObjectId   `json:"id" bson:"_id,omitempty"`
	Title       string          `json:"title" bson:"title,omitempty"`
	People      []bson.ObjectId `json:"people" bson:"people,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"`
}

Group ...

func NewGroup

func NewGroup(title, details, description, typ string, people []string) *Group

NewGroup creates a new Group!

Jump to

Keyboard shortcuts

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