learn

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed tutorials.yaml
	TUTORIALS_YAML string

	TUTORIAL_SERIES []TutorialSeries
)

Functions

This section is empty.

Types

type Tutorial

type Tutorial struct {
	Id                string            `yaml:"id" json:"id"`
	Name              string            `yaml:"name" json:"name"`
	Program           string            `yaml:"program" json:"program"`
	OtherFiles        map[string]string `yaml:"other-files" json:"otherFiles,omitempty"`
	ExpectedOutput    []string          `yaml:"output" json:"output,omitempty"`
	ExpectedLogOutput []string          `yaml:"log-output" json:"logOutput,omitempty"`
}

func ListTutorials

func ListTutorials() (tutorials []Tutorial)

type TutorialSeries

type TutorialSeries struct {
	Id          string     `yaml:"id" json:"id"`
	Name        string     `yaml:"name" json:"name"`
	Tutorials   []Tutorial `yaml:"tutorials" json:"tutorials"`
	Description string     `yaml:"description" json:"description"`
}

Jump to

Keyboard shortcuts

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