summaryrefslogtreecommitdiff
path: root/internal/gotosocial
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-11 14:30:14 +0100
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-03-11 14:30:14 +0100
commitc558681f021dc0ebe77a6a72e22e9a92ce5d482d (patch)
tree85bd89aabe47c3b0f77ba9380ca6f1b858015560 /internal/gotosocial
parentbuilding out media req/resp model (diff)
downloadgotosocial-c558681f021dc0ebe77a6a72e22e9a92ce5d482d.tar.xz
start adding mastodon api types
Diffstat (limited to 'internal/gotosocial')
-rw-r--r--internal/gotosocial/gotosocial.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/internal/gotosocial/gotosocial.go b/internal/gotosocial/gotosocial.go
index 8ad79e09d..cf4305ee2 100644
--- a/internal/gotosocial/gotosocial.go
+++ b/internal/gotosocial/gotosocial.go
@@ -35,20 +35,20 @@ type Gotosocial interface {
func New(db db.DB, cache cache.Cache, clientAPI client.API, federationAPI pub.FederatingActor, config *config.Config) (Gotosocial, error) {
return &gotosocial{
- db: db,
- cache: cache,
- clientAPI: clientAPI,
- federationAPI: federationAPI,
- config: config,
+ db: db,
+ cache: cache,
+ clientAPI: clientAPI,
+ federationAPI: federationAPI,
+ config: config,
}, nil
}
type gotosocial struct {
- db db.DB
- cache cache.Cache
- clientAPI client.API
- federationAPI pub.FederatingActor
- config *config.Config
+ db db.DB
+ cache cache.Cache
+ clientAPI client.API
+ federationAPI pub.FederatingActor
+ config *config.Config
}
func (gts *gotosocial) Start(ctx context.Context) error {