uid
This commit is contained in:
		@@ -19,6 +19,7 @@ type Image struct {
 | 
			
		||||
	FromImage         string  `json:"from_image"`          // Image to start from
 | 
			
		||||
	CreatedAt         string  `json:"created_at"`
 | 
			
		||||
	UpdatedAt         string  `json:"updated_at"`
 | 
			
		||||
	UserID            int     `json:"user_id"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (image *Image) Create() error {
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,7 @@ type Model struct {
 | 
			
		||||
	Tags         string `json:"tags"`
 | 
			
		||||
	CreatedAt    string `json:"created_at"`
 | 
			
		||||
	UpdatedAt    string `json:"updated_at"`
 | 
			
		||||
	UserID       int    `json:"user_id"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (model *Model) Create() error {
 | 
			
		||||
 
 | 
			
		||||
@@ -13,6 +13,7 @@ type Task struct {
 | 
			
		||||
	Progress  int    `json:"progress"` // (0-100)
 | 
			
		||||
	CreatedAt string `json:"created_at"`
 | 
			
		||||
	UpdatedAt string `json:"updated_at"`
 | 
			
		||||
	UserID    int    `json:"user_id"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (task *Task) Create() error {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user