Core packages for YaOJ.
Table of Contents
YaOJ, namely Yet Another Online Judge, is coming as a brand new OJ with an excellent framework for easily configured custom testing. This repo contains all core packages of YaOJ, which is for customized problem testing.
The go toolkit command.
-
Clone the repo
git clone --recursive https://github.com/super-yaoj/yaoj-core
-
Generate necessary files
cd yaoj-core go generate
-
Build Apps
go build ./cmd/migrator go build ./cmd/judgeserver
-
Happy developing!
For more examples, please refer to *_test.go
files
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'feat(scope): add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the Apache-2.0 License. See LICENSE
for more information.
Project Link: https://github.com/super-yaoj/yaoj-core
go test -coverprofile cover.out .
go tool cover -html=cover.out