feat: add StrToWordColor function stub
This commit is contained in:
		 Grail Finder
					Grail Finder
				
			
				
					committed by
					
						 Grail Finder (aider)
						Grail Finder (aider)
					
				
			
			
				
	
			
			
			 Grail Finder (aider)
						Grail Finder (aider)
					
				
			
						parent
						
							990d8660b3
						
					
				
				
					commit
					722da6d4fa
				
			| @@ -11,6 +11,13 @@ const ( | |||||||
| 	WordColorBlack = "black" | 	WordColorBlack = "black" | ||||||
| ) | ) | ||||||
|  |  | ||||||
|  | func StrToWordColor(s string) WordColor { | ||||||
|  | 	switch s { | ||||||
|  | 	case "white": | ||||||
|  | 		// finish this switch; if not found/default should be beije; ai! | ||||||
|  | 	} | ||||||
|  | } | ||||||
|  |  | ||||||
| type Room struct { | type Room struct { | ||||||
| 	ID           string    `json:"id" db:"id"` | 	ID           string    `json:"id" db:"id"` | ||||||
| 	CreatedAt    time.Time `json:"created_at" db:"created_at"` | 	CreatedAt    time.Time `json:"created_at" db:"created_at"` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user