Documentation ¶ Index ¶ type APIRoute type Project type User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type APIRoute ¶ type APIRoute struct { Path string `json:"path"` Method string `json:"method"` // e.g., "GET", "POST" Response string `json:"response"` // The response data ProjectID string `json:"projectID"` } type Project ¶ type Project struct { ID primitive.ObjectID `bson:"_id,omitempty"` Name string `bson:"name"` Description string `bson:"description"` OwnerID string `bson:"ownerID"` // The ID of the user who created the project CreatedAt int64 `bson:"createdAt"` } type User ¶ type User struct { ID primitive.ObjectID `bson:"_id,omitempty"` Email string `bson:"email"` Name string `bson:"name"` Picture string `bson:"picture"` CreatedAt time.Time `bson:"created_at"` UpdatedAt time.Time `bson:"updated_at"` } Source Files ¶ View all Source files project.go user.go Click to show internal directories. Click to hide internal directories.