12345678910111213141516171819202122232425262728 |
- package controllers
- import (
- "Yunlot/RunCode/ctl"
- beego "github.com/beego/beego/v2/server/web"
- )
- type RuncodeController struct {
- beego.Controller
- }
- func (c *RuncodeController) Languages() {
- ctl.LanguagesController(c.Ctx.ResponseWriter, c.Ctx.Request)
- }
- func (c *RuncodeController) Run() {
- ctl.RunController(c.Ctx.ResponseWriter, c.Ctx.Request)
- }
- func (c *RuncodeController) Build() {
- ctl.BuildController(c.Ctx.ResponseWriter, c.Ctx.Request)
- }
|