package
Version:
v0.0.0-...-5b8dc76
Opens a new window with list of versions in this module.
Published: Jan 11, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Block struct {
BlockerID string `json:"blocker_id"`
BlockedID string `json:"blocked_id"`
}
type Favorite struct {
UserID string `json:"user_id"`
PostID string `json:"post_id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
type Post struct {
ID string `json:"id"`
UserID string `json:"user_id"`
Body string `json:"body"`
Photo *Image `json:"photo"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
type User struct {
ID string `json:"id"`
Login string `json:"login"`
DisplayName string `json:"display_name"`
Icon *Image `json:"icon"`
Cover *Image `json:"cover"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.