Go: refactor (#17635)

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-31 17:48:35 +08:00
committed by GitHub
parent 36ae39bc60
commit 165a5db07d
6 changed files with 19 additions and 14 deletions

View File

@@ -65,3 +65,15 @@ func (h *UserHandler) IsAdmin(c *gin.Context) {
func (h *UserHandler) GetMeta(c *gin.Context) {
common.ErrorWithCode(c, common.CodeNotImplemented, "GetMeta not implemented")
}
func (h *UserHandler) OAuthLogin(c *gin.Context) {
common.ErrorWithCode(c, common.CodeNotImplemented, "OAuthLogin not implemented")
}
func (h *UserHandler) OAuthChannelCallback(c *gin.Context) {
common.ErrorWithCode(c, common.CodeNotImplemented, "OAuthChannelCallback not implemented")
}
func (h *UserHandler) GetLoginChannels(c *gin.Context) {
common.SuccessWithData(c, []interface{}{}, "success")
}