dto

package
v0.0.0-...-3c40ba8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 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 UserRel

type UserRel struct {
	ObjectId    uuid.UUID   `json:"objectId" bson:"objectId"`
	CreatedDate int64       `json:"created_date" bson:"created_date"`
	Left        UserRelMeta `json:"left" bson:"left"`
	LeftId      uuid.UUID   `json:"leftId" bson:"leftId"`
	Right       UserRelMeta `json:"right" bson:"right"`
	RightId     uuid.UUID   `json:"rightId" bson:"rightId"`
	Rel         []string    `json:"rel" bson:"rel"`
	Tags        []string    `json:"tags" bson:"tags"`
	CircleIds   []string    `json:"circleIds" bson:"circleIds"`
}

type UserRelMeta

type UserRelMeta struct {
	UserId      uuid.UUID `json:"userId" bson:"userId"`
	CreatedDate int64     `json:"created_date" bson:"created_date"`
	FullName    string    `json:"fullName" bson:"fullName"`
	SocialName  string    `json:"socialName" bson:"socialName"`
	InstagramId string    `json:"instagramId" bson:"instagramId"`
	TwitterId   string    `json:"twitterId" bson:"twitterId"`
	FacebookId  string    `json:"facebookId" bson:"facebookId"`
	LinkedinId  string    `json:"linkedInId" bson:"linkedInId"`
	Banner      string    `json:"banner" bson:"banner"`
	Avatar      string    `json:"avatar" bson:"avatar"`
}

Jump to

Keyboard shortcuts

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