memory

package
v0.0.0-...-5cc4ecd Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	Width         int             `json:"width"`
	Height        int             `json:"height"`
	PairSize      int             `json:"pairSize"`
	TotalPairs    int             `json:"totalPairs"`
	Grid          [][]string      `json:"grid"`
	PairPositions []PairPositions `json:"pairPositions,omitempty"`
}

func Generate

func Generate(w, h, ps int, showPositions bool) (Core, error)

type PairPositions

type PairPositions struct {
	Value     string  `json:"value"`
	Positions [][]int `json:"positions"`
}

Jump to

Keyboard shortcuts

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