mirror of
https://github.com/dreamstarsky/runbin.git
synced 2026-05-15 14:23:07 +00:00
first demo
This commit is contained in:
14
internal/model/PasteStatus.go
Normal file
14
internal/model/PasteStatus.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package model
|
||||
|
||||
type PasteStatus string
|
||||
|
||||
const (
|
||||
StatusPending PasteStatus = "pending"
|
||||
StatusRunning PasteStatus = "running"
|
||||
StatusCompileError PasteStatus = "compile error"
|
||||
StatusRuntimeError PasteStatus = "runtime error"
|
||||
StatusTimeLimitExceed PasteStatus = "time limit exceeded"
|
||||
StatusMemoryLimitExceed PasteStatus = "memory limit exceeded"
|
||||
StatusUnknownError PasteStatus = "unknown error"
|
||||
StatusCompleted PasteStatus = "completed"
|
||||
)
|
||||
Reference in New Issue
Block a user