yaojcore

package module
v0.0.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

README

Ya Online Judge

Contributors Forks Stargazers Issues Apache License Go version (master) GitHub tag (latest by date) GitHub code size in bytes

Core packages for YaOJ.

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

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.

(back to top)

Getting Started

Prerequisites

The go toolkit command.

Installation
  1. Clone the repo

    git clone --recursive https://github.com/super-yaoj/yaoj-core
    
  2. Generate necessary files

    cd yaoj-core
    go generate
    
  3. Build Apps

    go build ./cmd/migrator
    go build ./cmd/judgeserver
    
  4. Happy developing!

(back to top)

Usage

Go Reference

For more examples, please refer to *_test.go files

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'feat(scope): add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the Apache-2.0 License. See LICENSE for more information.

(back to top)

Contact

Project Link: https://github.com/super-yaoj/yaoj-core

(back to top)

Documentation

Overview

Packages for YaOJ

Directories

Path Synopsis
cmd
pkg
private/judger
Package judger is the go wrapper for https://github.com/sshwy/yaoj-judger.
Package judger is the go wrapper for https://github.com/sshwy/yaoj-judger.
problem
Package problem is a package for test problem manipulation.
Package problem is a package for test problem manipulation.
processor
Package processor provides builtin processors and processor plugin loader
Package processor provides builtin processors and processor plugin loader
workflow
Package workflow is for problem workflow manipulation.
Package workflow is for problem workflow manipulation.
scripts
genprocs
generate processor's label code in processor/builtins.go
generate processor's label code in processor/builtins.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL