Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
UserList map[string]*User
)
Functions ¶
func DeleteUser ¶
func DeleteUser(uid string)
func GetAllUsers ¶
Types ¶
type Study ¶
type Study struct {
Id bson.ObjectId `json:"id" bson:"_id,omitempty"` // Mongodb _id
Title string `json:"Title,omitempty" bson:"Title,omitempty"`
UniversalID string `json:"UniversalID,omitempty" bson:"UniversalID,omitempty"`
Abstract string `json:"Abstract,omitempty" bson:"Abstract,omitempty"`
StudyType string `json:"StudyType,omitempty" bson:"StudyType,omitempty"`
Description string `json:"Description,omitempty" bson:"Description,omitempty"`
CenterName string `json:"CenterName,omitempty" bson:"CenterName,omitempty"`
Organism string `json:"Organism,omitempty" bson:"Organism,omitempty"`
Owner string `json:"Owner,omitempty" bson:"Owner,omitempty"`
DeleteFlag bool `json:"DeleteFlag,omitempty" bson:"DeleteFlag,omitempty"`
CreateTime time.Time `json:"CreateTime,omitempty" bson:"CreateTime,omitempty"`
CreateTimeRaw string `json:"CreateTimeRaw,omitempty" bson:"CreateTimeRaw,omitempty"`
}
func GetAllStudy ¶
func GetAllStudy() []Study
type Submission ¶
type Submission struct {
Id bson.ObjectId `json:"id" bson:"_id,omitempty"` // Mongodb _id
Title string `json:"Title,omitempty" bson:"Title,omitempty"`
UniversalID string `json:"UniversalID,omitempty" bson:"UniversalID,omitempty"`
Abstract string `json:"Abstract,omitempty" bson:"Abstract,omitempty"`
StudyType string `json:"StudyType,omitempty" bson:"StudyType,omitempty"`
Description string `json:"Description,omitempty" bson:"Description,omitempty"`
CenterName string `json:"CenterName,omitempty" bson:"CenterName,omitempty"`
Organism string `json:"Organism,omitempty" bson:"Organism,omitempty"`
Owner string `json:"Owner,omitempty" bson:"Owner,omitempty"`
DeleteFlag bool `json:"DeleteFlag,omitempty" bson:"DeleteFlag,omitempty"`
CreateTime time.Time `json:"CreateTime,omitempty" bson:"CreateTime,omitempty"`
CreateTimeRaw string `json:"CreateTimeRaw,omitempty" bson:"CreateTimeRaw,omitempty"`
}
func GetAllSubmission ¶
func GetAllSubmission() []Submission
Click to show internal directories.
Click to hide internal directories.