models

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TopicW

type TopicW struct {
	ID          string             `bson:"id,omitempty"             json:"id,omitempty"`
	Description string             `bson:"description,omitempty"    json:"description,omitempty"`
	Keywords    []string           `bson:"keywords,omitempty"       json:"keywords,omitempty"`
	Links       *models.TopicLinks `bson:"links,omitempty"          json:"links,omitempty"`
	ReleaseDate *time.Time         `bson:"release_date,omitempty"          json:"release_date,omitempty"`
	State       string             `bson:"state,omitempty"          json:"state,omitempty"`
	SubtopicIds []string           `bson:"subtopics_ids,omitempty"  json:"subtopics_ids,omitempty"`
	Title       string             `bson:"title,omitempty"          json:"title,omitempty"`
}

TopicW is used for component testing

type TopicWrite

type TopicWrite struct {
	ID      string  `bson:"id,omitempty"       json:"id,omitempty"`
	Current *TopicW `bson:"current,omitempty"  json:"current,omitempty"`
	Next    *TopicW `bson:"next,omitempty"     json:"next,omitempty"`
}

TopicWrite is used for component testing

Jump to

Keyboard shortcuts

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