Fix: various bug fix
This commit is contained in:
16
handlers/wordle/postEnd.go
Normal file
16
handlers/wordle/postEnd.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package wordle
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"gitea.konchin.com/ytshih/inp2025/utils"
|
||||
"github.com/uptrace/bunrouter"
|
||||
)
|
||||
|
||||
func (self *Handlers) PostEnd(
|
||||
w http.ResponseWriter,
|
||||
req bunrouter.Request,
|
||||
) error {
|
||||
self.opCh <- &OperationEnd{}
|
||||
return utils.Success(w)
|
||||
}
|
||||
Reference in New Issue
Block a user