diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-10 20:09:05 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-10 20:09:05 -0700 |
commit | e63d2b6c2bc7c7ecf5e57e4e25267113f8a1ed51 (patch) | |
tree | 4e08097208ddb26b50d9bed9cdf6fffef97fd8a2 /golang/api/handlers/editing.go | |
parent | 63dc69bbcdbee264383b919f9a8a3b1a83358be7 (diff) | |
download | fatcat-e63d2b6c2bc7c7ecf5e57e4e25267113f8a1ed51.tar.gz fatcat-e63d2b6c2bc7c7ecf5e57e4e25267113f8a1ed51.zip |
cleanups
Diffstat (limited to 'golang/api/handlers/editing.go')
-rw-r--r-- | golang/api/handlers/editing.go | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/golang/api/handlers/editing.go b/golang/api/handlers/editing.go index b0c006cb..5c267e9e 100644 --- a/golang/api/handlers/editing.go +++ b/golang/api/handlers/editing.go @@ -40,6 +40,7 @@ func GetOrCreateEditgroup() Editgroup { return eg } +//// func NewGetEditorUsernameHandler(db *pg.DB) operations.GetEditorUsernameHandler { return &getEditorUsername{db: db} } @@ -50,7 +51,7 @@ func (d *getEditorUsername) Handle(params operations.GetEditorUsernameParams) mi return middleware.NotImplemented("operation .PostCreatorID has not yet been implemented") } - +//// func NewGetEditorUsernameChangelogHandler(db *pg.DB) operations.GetEditorUsernameChangelogHandler { return &getEditorUsernameChangelog{db: db} } @@ -61,6 +62,7 @@ func (d *getEditorUsernameChangelog) Handle(params operations.GetEditorUsernameC return middleware.NotImplemented("operation .PostCreatorID has not yet been implemented") } +//// func NewGetEditgroupIDHandler(db *pg.DB) operations.GetEditgroupIDHandler { return &getEditgroupID{db: db} } @@ -71,18 +73,7 @@ func (d *getEditgroupID) Handle(params operations.GetEditgroupIDParams) middlewa return middleware.NotImplemented("operation .PostCreatorID has not yet been implemented") } -/* -func NewGetEditgroupIDHandler(db *pg.DB) operations.GetEditgroupIDHandler { - return &getEditgroupID{db: db} -} -type getCreatorID struct { - db *pg.DB -} -func (d *getCreatorID) Handle(params operations.GetEditgroupIDParams) middleware.Responder { - return middleware.NotImplemented("operation .PostCreatorID has not yet been implemented") -} -*/ - +//// func NewPostEditgroupHandler(db *pg.DB) operations.PostEditgroupHandler { return &postEditgroup{db: db} } @@ -93,6 +84,7 @@ func (d *postEditgroup) Handle(params operations.PostEditgroupParams) middleware return middleware.NotImplemented("operation .PostEditgroupID has not yet been implemented") } +//// func NewPostEditgroupIDAcceptHandler(db *pg.DB) operations.PostEditgroupIDAcceptHandler { return &postEditgroupIDAccept{db: db} } |