sp

package
v1.0.4-0...-dc1bf15 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IDVerify

func IDVerify(idStr string) *errors.Error

Types

type ID

type ID string
const (
	NilID  ID = ""
	RootID ID = "$"
)

func IDOf

func IDOf(idStr string) (ID, *errors.Error)

func (ID) S

func (id ID) S() string

type SP

type SP struct {
	VN         vn.ID    `bson:"vn" json:"vn"`
	ID         ID       `bson:"id" json:"id"`
	Link       []ID     `bson:"link" json:"link"`
	Originator ki.ADR   `bson:"originator" json:"originator"`
	Guardian   ki.ADR   `bson:"guardian" json:"guardian"`
	Dob        int64    `bson:"dob" json:"dob"` //date of birth
	FQ         []*fq.FQ `bson:"fq" json:"fq"`
}

func (*SP) FQHas

func (s *SP) FQHas(fqCode fq.Code) bool

Jump to

Keyboard shortcuts

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