JOJ3/internal/executors/all.go
张泊明518370910136 b40072a485
All checks were successful
build-image / create-empty-commit (push) Successful in 5s
checks / build (push) Successful in 1m19s
feat: rename module
2024-09-30 22:04:18 -04:00

15 lines
431 B
Go

package executors
import (
_ "github.com/joint-online-judge/JOJ3/internal/executors/dummy"
"github.com/joint-online-judge/JOJ3/internal/executors/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)
}