fq

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CodeVerify

func CodeVerify(codeStr string) *errors.Error

func Include

func Include(arr []*FQ, fq Code) bool

Types

type Code

type Code string
const (
	NilCode Code = ""

	SLIVER  Code = "SLIVER"
	GOLD    Code = "GOLD"
	DIAMOND Code = "DIAMOND"
)

func CodeOf

func CodeOf(codeStr string) (Code, *errors.Error)

func (Code) S

func (c Code) S() string

type FQ

type FQ struct {
	Fq Code `bson:"fq" json:"fq"`
}

func (*FQ) Verify

func (f *FQ) Verify() *errors.Error

Jump to

Keyboard shortcuts

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