Refactor app context setup and move API fetch logic to PostService
This commit is contained in:
@@ -10,4 +10,6 @@ import (
|
||||
type AppContext struct {
|
||||
Db *gorm.DB
|
||||
PostService *services.PostService
|
||||
Instance string
|
||||
Tag string
|
||||
}
|
Reference in New Issue
Block a user