generated from templates/go-generic
48 lines
779 B
Go
48 lines
779 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.27.0
|
|
|
|
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 FeedFollow 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 time.Time
|
|
FeedID uuid.UUID
|
|
}
|
|
|
|
type User struct {
|
|
ID uuid.UUID
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
Name string
|
|
}
|