Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feed ¶
type Feed struct { ID uuid.UUID `json:"id"` Name string `json:"name"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Url string `json:"url"` UserID uuid.UUID `json:"user_id"` }
type FeedFollow ¶
type FeedFollow struct { ID uuid.UUID `json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` UserID uuid.UUID `json:"user_id"` FeedID uuid.UUID `json:"feed_id"` }
func ConvertDatabaseFeedFollowToAPIFeedFollow ¶
func ConvertDatabaseFeedFollowToAPIFeedFollow(dbFeedFollow database.FeedFollow) FeedFollow
func ConvertDatabaseFeedFollowsToAPIFeedFollows ¶
func ConvertDatabaseFeedFollowsToAPIFeedFollows(dbFeedFollows []database.FeedFollow) []FeedFollow
type Post ¶
type Post struct { ID uuid.UUID `json:"id"` Title string `json:"title"` Description *string `json:"description"` PublishedAt time.Time `json:"published_at"` Url string `json:"url"` FeedID uuid.UUID `json:"feed_id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type User ¶
type User struct { ID uuid.UUID `json:"id"` Name string `json:"name"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` ApiKey string `json:"api_key"` Email string `json:"email"` AccessToken string `json:"access_token,omitempty"` RefreshToken string `json:"refresh_token,omitempty"` }
Click to show internal directories.
Click to hide internal directories.