gostart/data/models.go

65 lines
1.7 KiB
Go
Raw Normal View History

2022-11-29 19:55:00 -07:00
// Code generated by sqlc. DO NOT EDIT.
// versions:
2023-05-18 12:54:16 -06:00
// sqlc v1.18.0
2022-11-29 19:55:00 -07:00
package data
import (
"database/sql"
"time"
)
type Icon struct {
OwnerID int64 `json:"owner_id"`
2022-12-02 20:53:05 -07:00
LinkID int64 `json:"link_id"`
2022-11-29 19:55:00 -07:00
CreatedAt time.Time `json:"created_at"`
ContentType string `json:"content_type"`
Data []byte `json:"data"`
}
type Link struct {
2022-12-02 20:53:05 -07:00
ID int64 `json:"id"`
OwnerID int64 `json:"owner_id"`
CreatedAt time.Time `json:"created_at"`
Url string `json:"url"`
Name string `json:"name"`
Clicked int64 `json:"clicked"`
LogoUrl string `json:"logo_url"`
2022-12-21 19:21:40 -07:00
Shared bool `json:"shared"`
2022-11-29 19:55:00 -07:00
}
type Owner struct {
ID int64 `json:"id"`
CreatedAt time.Time `json:"created_at"`
LastUsed time.Time `json:"last_used"`
Name string `json:"name"`
ShowShared bool `json:"show_shared"`
2022-11-29 19:55:00 -07:00
}
type PullRequest struct {
ID int64 `json:"id"`
OwnerID int64 `json:"owner_id"`
CreatedAt time.Time `json:"created_at"`
Number int64 `json:"number"`
Repo string `json:"repo"`
Url string `json:"url"`
2022-12-02 20:53:05 -07:00
Description string `json:"description"`
2022-11-29 19:55:00 -07:00
Commitid sql.NullString `json:"commitid"`
}
type PullRequestIgnore struct {
ID int64 `json:"id"`
OwnerID int64 `json:"owner_id"`
CreatedAt time.Time `json:"created_at"`
Number int64 `json:"number"`
Repo string `json:"repo"`
}
type WatchItem struct {
2022-12-02 20:53:05 -07:00
ID int64 `json:"id"`
OwnerID int64 `json:"owner_id"`
CreatedAt time.Time `json:"created_at"`
Name string `json:"name"`
Repo string `json:"repo"`
2022-11-29 19:55:00 -07:00
}