entity

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const MaxAllowedSymbols = 140

MaxAllowedSymbols set max length for all tweets, be short and smart

Variables

This section is empty.

Functions

This section is empty.

Types

type Comment

type Comment struct {
	ID     int
	UserID int
	Text   string
	Likes  int
}

type Tweet

type Tweet struct {
	ID        int
	UserID    int
	Text      string
	Likes     int
	CreatedAt time.Time
}

type User

type User struct {
	ID        int
	Email     string
	FullName  string
	Caption   string
	BirthDate time.Time
	DeletedAt *time.Time
}

Jump to

Keyboard shortcuts

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