models

package
v0.0.0-...-8699ab8 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gem

type Gem struct {
	Id               primitive.ObjectID `json:"id"`
	Phrase           string             `json:"phrase"`
	Ordinal          int                `json:"ordinal"`
	OrdinalReverse   int                `json:"ordinal_reverse"`
	Reduction        int                `json:"reduction"`
	ReductionReverse int                `json:"reduction_reverse"`
	Sumerian         int                `json:"sumerian"`
	SumerianReverse  int                `json:"sumerian_reverse"`
}

type GemDistance

type GemDistance struct {
	Gem      *Gem    `json:"gem"`
	Distance float64 `json:"distance"`
}

type NearestItemsRequest

type NearestItemsRequest struct {
	Phrase string `json:"phrase"`
	Limit  int64  `json:"limit"`
}

type PhraseRequest

type PhraseRequest struct {
	Phrase string `json:"phrase"`
}

Jump to

Keyboard shortcuts

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