Feat: add journal [wip]
This commit is contained in:
		
							
								
								
									
										12
									
								
								repos/journal.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								repos/journal.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| package repos | ||||
|  | ||||
| import ( | ||||
| 	"context" | ||||
| 	"gralias/models" | ||||
| ) | ||||
|  | ||||
| type JournalRepo interface { | ||||
| 	JournalByRoomID(ctx context.Context, roomID string) ([]models.Journal, error) | ||||
| 	JournalCreate(ctx context.Context, action *models.Journal) error | ||||
| 	JournalDeleteByRoomID(ctx context.Context, roomID string) error | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder