objects

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Description

type Description struct {
	ID       int64
	Story    string
	Input    string
	Output   string
	Examples []Example
	Notes    *string
}

type Example

type Example struct {
	ID     int64
	Input  string
	Answer string
}

type ProgrammingLanguage

type ProgrammingLanguage struct {
	ID                string
	Name              string
	CodeFilename      string
	CompileCommand    *string
	ExecuteCommand    string
	EnvVersionCommand *string
	HelloWorldCode    *string
	MonacoID          *string
}

type TaskVersion

type TaskVersion struct {
	ID     int64
	TaskID int64
	Code   string
	Name   string

	Description *Description

	TimeLimitMs   int64
	MemoryLimitKb int64

	CreatedAt time.Time
	UpdatedAt *time.Time
}

type User

type User struct {
	ID        int64
	Username  string
	Email     string
	FirstName string
	LastName  string
	IsAdmin   bool
}

Jump to

Keyboard shortcuts

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