Documentation ¶
Index ¶
Constants ¶
View Source
const ( CMS = Category("cms") JavascriptFrameworks = Category("javascript-frameworks") Analytics = Category("analytics") WebServers = Category("web-servers") AdvertisingNetworks = Category("advertising-networks") OperatingSystems = Category("operating-systems") )
View Source
const ( ActivityReported = ActivityType("reported") // the issue was reported by plugin ActivityConfirmed = ActivityType("confirmed") // the issue was confirmed by someone )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityType ¶
type ActivityType string
func (ActivityType) Convert ¶
func (t ActivityType) Convert(text string) (interface{}, error)
func (ActivityType) Enum ¶
func (t ActivityType) Enum() []interface{}
func (ActivityType) MarshalJSON ¶
func (t ActivityType) MarshalJSON() ([]byte, error)
It's a hack to show custom type as string in swagger
type TargetTech ¶
type TargetTech struct { Id bson.ObjectId `json:"id,omitempty" bson:"_id"` Target bson.ObjectId `json:"target"` Project bson.ObjectId `json:"project"` Created time.Time `json:"created,omitempty" description:"when issue is created"` Updated time.Time `json:"updated,omitempty" description:"when issue is updated"` Activities []*Activity `json:"activities,omitempty"` Tech `json:",inline"` Status `json:",inline"` }
Click to show internal directories.
Click to hide internal directories.