project

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: GPL-3.0 Imports: 4 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	ID           string
	Name         string
	Description  string
	Visibility   visibility.Visibility
	CreationDate time.Time
	Owner        string
	SUTVersions  []string
}

The Project struct contains information used to describe a project in the system

func NewProject

func NewProject(name, description string, visibility visibility.Visibility) Project

NewProject creates a new project

func (Project) ItemID

func (p Project) ItemID() string

ItemID returns a projects id

func (Project) ItemName

func (p Project) ItemName() string

ItemName returns a projects name

func (Project) ItemVisibility

func (p Project) ItemVisibility() visibility.Visibility

ItemVisibility returns a projects visibility

Jump to

Keyboard shortcuts

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