mirror of
https://github.com/dreamstarsky/runbin.git
synced 2026-05-15 14:23:07 +00:00
first demo
This commit is contained in:
9
internal/model/SubmitRequest.go
Normal file
9
internal/model/SubmitRequest.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package model
|
||||
|
||||
type SubmitRequest struct {
|
||||
Code string `json:"code" binding:"required"`
|
||||
Language string `json:"language" binding:"required"`
|
||||
Run bool `json:"run"`
|
||||
Stdin string `json:"stdin"`
|
||||
BackEnd string `json:"backend"`
|
||||
}
|
||||
Reference in New Issue
Block a user