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 Space

type Space struct {
	ID          bson.ObjectId   `json:"id" bson:"_id,omitempty"`
	Creator     bson.ObjectId   `json:"author" bson:"author,omitempty"`
	Managers    []bson.ObjectId `json:"managers" bson:"managers,omitempty"`
	Topic       string          `json:"topic" bson:"topic,omitempty"`
	Details     string          `json:"details" bson:"details,omitempty"`
	Description string          `json:"description" bson:"description,omitempty"`
	Type        string          `json:"type" bson:"type,omitempty"`
	Tags        []string        `json:"tags" bson:"tags,omitempty"`
	Date        time.Time       `json:"timestamp" bson:"timestamp,omitempty"`
	Followers   []bson.ObjectId `json:"followers" bson:"followers,omitempty"`
}

Space ...

func NewSpace

func NewSpace(creator, topic, details, description, typ string, managers, followers, tags []string) *Space

NewSpace creates a new Space!

Jump to

Keyboard shortcuts

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