Documentation ¶ Index ¶ type Core func Generate(w, h, ps int, showPositions bool) (Core, error) type PairPositions 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"` } Source Files ¶ View all Source files constants.go core.go generator.go types.go Click to show internal directories. Click to hide internal directories.