JOJ3/internal/executor/all.go
张泊明518370910136 5bbbcb14aa
Some checks failed
build / build (push) Successful in 2m3s
build / trigger-build-image (push) Successful in 8s
submodules sync / sync (push) Failing after 30s
refactor(internal): rename executor & parser dir
2024-10-09 05:38:30 -04:00

15 lines
429 B
Go

package executors
import (
_ "github.com/joint-online-judge/JOJ3/internal/executor/dummy"
"github.com/joint-online-judge/JOJ3/internal/executor/sandbox"
)
// this file does nothing but imports to ensure all the init() functions
// in the subpackages are called
// overwrite the default registered executors
func InitWithConf(sandboxExecServer, sandboxToken string) {
sandbox.InitWithConf(sandboxExecServer, sandboxToken)
}