level

package
v0.0.0-...-6edf9ef Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 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 EmLevel

type EmLevel struct {
	Id         uuid.UUID
	Name       string
	Difficulty int
}

EmLevel - minimal level data projection

type Level

type Level struct {
	Id         uuid.UUID
	Name       string
	Difficulty int
	Text       string
}

type Repository

type Repository interface {
	SaveLevel(level Level) (*Level, error)
	FindLevelById(id uuid.UUID) (*Level, error)
	FindLevelProjectionById(id uuid.UUID) (*EmLevel, error)
}

TODO: implement

type Service

type Service struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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