49 lines
778 B
Go
49 lines
778 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.31.1
|
|
|
|
package database
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Feed struct {
|
|
ID uuid.UUID
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
Name string
|
|
Url string
|
|
UserID uuid.UUID
|
|
LastFetchedAt sql.NullTime
|
|
}
|
|
|
|
type Follow struct {
|
|
ID uuid.UUID
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
UserID uuid.UUID
|
|
FeedID uuid.UUID
|
|
}
|
|
|
|
type Post struct {
|
|
ID uuid.UUID
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
Title string
|
|
Url string
|
|
Description string
|
|
PublishedAt sql.NullTime
|
|
FeedID uuid.UUID
|
|
}
|
|
|
|
type User struct {
|
|
ID uuid.UUID
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
Name string
|
|
}
|