entity

package
v0.0.0-...-083f560 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlogPost

type BlogPost struct {
	ID       string    `json:"id,omitempty" bson:"_id,omitempty"`
	Title    string    `json:"title" bson:"title"`
	Author   string    `json:"author" bson:"author"`
	Path     string    `json:"path" bson:"path"`
	PostDate time.Time `json:"time" bson:"time"`
}

type Comment

type Comment struct {
	ID       string    `json:"id,omitempty" bson:"_id,omitempty"`
	Name     string    `json:"name" bson:"name"`
	Website  string    `json:"website,omitempty" bson:"website,omitempty"`
	Email    string    `json:"email,omitempty" bson:"email,omitempty"`
	Message  string    `json:"message" bson:"message"`
	PostDate time.Time `json:"time" bson:"time"`

	UUID string `json:"uuid" bson:"uuid"`
}

Jump to

Keyboard shortcuts

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