Documentation ¶
Index ¶
- Constants
- type Account
- type AccountNotif
- type AccountsFollow
- type AccountsQueue
- type CommentFeature
- type CreateAccountQueueParams
- type CreateAccountsFollowParams
- type CreateAccountsParams
- type CreateComment_featureParams
- type CreateEntriesParams
- type CreateLike_featureParams
- type CreatePostParams
- type CreatePrivateQueueParams
- type CreateQouteRetweet_featureParams
- type CreateRetweetResult
- type CreateRetweet_featureParams
- type CreateSessionParams
- type CreateUserParams
- type DBTX
- type DBTxRequest
- type DeleteAccountQueueParams
- type DeleteAccountsFollowParams
- type DeleteAcoountsQueueParams
- type DeleteQouteRetweetParams
- type DeleteRetweetParams
- type Entry
- type GetAccountByEmailRow
- type GetAccountsFollowParams
- type GetAccountsFollowRowsParams
- type GetAccountsInfoRow
- type GetAccountsQueueParams
- type GetEmailParams
- type GetEmailRow
- type GetEntriesFullParams
- type GetLikeInfoParams
- type GetLikeRowsParams
- type GetPostJoinRow
- type GetPostQRetweetJoinParams
- type GetPostQRetweetJoinRow
- type GetPost_feature_UpdateRow
- type GetPostidretweetJoinParams
- type GetPostidretweetJoinRow
- type GetQouteRetweetParams
- type GetQouteRetweetRowsParams
- type GetQueueRowsParams
- type GetRetweetJoinParams
- type GetRetweetParams
- type GetRetweetRowsParams
- type GetSessionuserRow
- type LikeFeature
- type ListAccountsParams
- type ListCommentParams
- type ListCommentRow
- type ListEntriesParams
- type ListPostParams
- type ListQueueParams
- type ListQueueRow
- type ListUserParams
- type Model
- type Post
- type PostFeature
- type PostTXResult
- type PrivateAccountParams
- type QouteRetweetFeature
- type Querier
- type Queries
- func (q *Queries) CreateAccountQueue(ctx context.Context, arg CreateAccountQueueParams) (AccountsQueue, error)
- func (q *Queries) CreateAccounts(ctx context.Context, arg CreateAccountsParams) (Account, error)
- func (q *Queries) CreateAccountsFollow(ctx context.Context, arg CreateAccountsFollowParams) (AccountsFollow, error)
- func (q *Queries) CreateComment_feature(ctx context.Context, arg CreateComment_featureParams) (string, error)
- func (q *Queries) CreateEntries(ctx context.Context, arg CreateEntriesParams) (Entry, error)
- func (q *Queries) CreateLike_feature(ctx context.Context, arg CreateLike_featureParams) error
- func (q *Queries) CreatePost(ctx context.Context, arg CreatePostParams) (Post, error)
- func (q *Queries) CreatePost_feature(ctx context.Context, postID uuid.UUID) (PostFeature, error)
- func (q *Queries) CreatePrivateQueue(ctx context.Context, arg CreatePrivateQueueParams) (AccountsQueue, error)
- func (q *Queries) CreateQouteRetweet_feature(ctx context.Context, arg CreateQouteRetweet_featureParams) (string, error)
- func (q *Queries) CreateRetweet_feature(ctx context.Context, arg CreateRetweet_featureParams) error
- func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) DeleteAccountQueue(ctx context.Context, arg DeleteAccountQueueParams) error
- func (q *Queries) DeleteAccountsFollow(ctx context.Context, arg DeleteAccountsFollowParams) error
- func (q *Queries) DeleteAcoountsQueue(ctx context.Context, arg DeleteAcoountsQueueParams) error
- func (q *Queries) DeletePost(ctx context.Context, id uuid.UUID) error
- func (q *Queries) DeletePostFeature(ctx context.Context, postID uuid.UUID) error
- func (q *Queries) DeleteQouteRetweet(ctx context.Context, arg DeleteQouteRetweetParams) error
- func (q *Queries) DeleteRetweet(ctx context.Context, arg DeleteRetweetParams) error
- func (q *Queries) GetAccountByEmail(ctx context.Context, email string) (GetAccountByEmailRow, error)
- func (q *Queries) GetAccountForUpdate(ctx context.Context, id int64) (Account, error)
- func (q *Queries) GetAccounts(ctx context.Context, id int64) (Account, error)
- func (q *Queries) GetAccountsFollow(ctx context.Context, arg GetAccountsFollowParams) (bool, error)
- func (q *Queries) GetAccountsFollowRows(ctx context.Context, arg GetAccountsFollowRowsParams) (int64, error)
- func (q *Queries) GetAccountsInfo(ctx context.Context, id int64) (GetAccountsInfoRow, error)
- func (q *Queries) GetAccountsOwner(ctx context.Context, owner string) (Account, error)
- func (q *Queries) GetAccountsQueue(ctx context.Context, arg GetAccountsQueueParams) (bool, error)
- func (q *Queries) GetEmail(ctx context.Context, arg GetEmailParams) (GetEmailRow, error)
- func (q *Queries) GetEntries(ctx context.Context, entriesID int64) (Entry, error)
- func (q *Queries) GetEntriesFull(ctx context.Context, arg GetEntriesFullParams) error
- func (q *Queries) GetLikeInfo(ctx context.Context, arg GetLikeInfoParams) (LikeFeature, error)
- func (q *Queries) GetLikeRows(ctx context.Context, arg GetLikeRowsParams) (int64, error)
- func (q *Queries) GetLikejoin(ctx context.Context, postid uuid.UUID) (bool, error)
- func (q *Queries) GetPost(ctx context.Context, id uuid.UUID) (Post, error)
- func (q *Queries) GetPostJoin(ctx context.Context, id uuid.UUID) (GetPostJoinRow, error)
- func (q *Queries) GetPostQRetweetJoin(ctx context.Context, arg GetPostQRetweetJoinParams) (GetPostQRetweetJoinRow, error)
- func (q *Queries) GetPost_feature(ctx context.Context, postID uuid.UUID) (PostFeature, error)
- func (q *Queries) GetPost_feature_Update(ctx context.Context, postID uuid.UUID) (GetPost_feature_UpdateRow, error)
- func (q *Queries) GetPostidretweetJoin(ctx context.Context, arg GetPostidretweetJoinParams) (GetPostidretweetJoinRow, error)
- func (q *Queries) GetQouteRetweet(ctx context.Context, arg GetQouteRetweetParams) (QouteRetweetFeature, error)
- func (q *Queries) GetQouteRetweetJoin(ctx context.Context, postID uuid.UUID) (bool, error)
- func (q *Queries) GetQouteRetweetRows(ctx context.Context, arg GetQouteRetweetRowsParams) (int64, error)
- func (q *Queries) GetQueueRows(ctx context.Context, arg GetQueueRowsParams) (int64, error)
- func (q *Queries) GetRetweet(ctx context.Context, arg GetRetweetParams) (RetweetFeature, error)
- func (q *Queries) GetRetweetJoin(ctx context.Context, arg GetRetweetJoinParams) (bool, error)
- func (q *Queries) GetRetweetRows(ctx context.Context, arg GetRetweetRowsParams) (int64, error)
- func (q *Queries) GetSession(ctx context.Context, id uuid.UUID) (Session, error)
- func (q *Queries) GetSessionuser(ctx context.Context, username string) (GetSessionuserRow, error)
- func (q *Queries) GetUser(ctx context.Context, username string) (User, error)
- func (q *Queries) ListAccounts(ctx context.Context, arg ListAccountsParams) ([]Account, error)
- func (q *Queries) ListComment(ctx context.Context, arg ListCommentParams) ([]ListCommentRow, error)
- func (q *Queries) ListEntries(ctx context.Context, arg ListEntriesParams) ([]Entry, error)
- func (q *Queries) ListPost(ctx context.Context, arg ListPostParams) ([]Post, error)
- func (q *Queries) ListQueue(ctx context.Context, arg ListQueueParams) ([]ListQueueRow, error)
- func (q *Queries) ListUser(ctx context.Context, arg ListUserParams) ([]User, error)
- func (q *Queries) PrivateAccount(ctx context.Context, arg PrivateAccountParams) error
- func (q *Queries) UpdateAccountFollower(ctx context.Context, arg UpdateAccountFollowerParams) (Account, error)
- func (q *Queries) UpdateAccountFollowing(ctx context.Context, arg UpdateAccountFollowingParams) (Account, error)
- func (q *Queries) UpdateAccountQueue(ctx context.Context, arg UpdateAccountQueueParams) error
- func (q *Queries) UpdateLike(ctx context.Context, arg UpdateLikeParams) error
- func (q *Queries) UpdatePhoto(ctx context.Context, arg UpdatePhotoParams) error
- func (q *Queries) UpdatePost(ctx context.Context, arg UpdatePostParams) (Post, error)
- func (q *Queries) UpdatePost_feature(ctx context.Context, arg UpdatePost_featureParams) (PostFeature, error)
- func (q *Queries) UpdateQouteRetweet(ctx context.Context, arg UpdateQouteRetweetParams) error
- func (q *Queries) UpdateRetweet(ctx context.Context, arg UpdateRetweetParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type RetweetFeature
- type SQLStore
- type Session
- type Token
- type UpdateAccountFollowerParams
- type UpdateAccountFollowingParams
- type UpdateAccountQueueParams
- type UpdateLikeParams
- type UpdatePhotoParams
- type UpdatePostParams
- type UpdatePost_featureParams
- type UpdateQouteRetweetParams
- type UpdateRetweetParams
- type User
Constants ¶
View Source
const ( L = "like" UL = "unlike" R = "retweet" C = "comment" QR = "qoute-retweet" F = "follow" UF = "unfollow" UR = "unretweet" UQR = "unqoute-retweet" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountNotif ¶
type AccountNotif struct { ID uuid.UUID `json:"id"` AccountID sql.NullInt64 `json:"account_id"` NotifType string `json:"notif_type"` IsRead bool `json:"is_read"` NotifTitle sql.NullString `json:"notif_title"` NotifContent sql.NullString `json:"notif_content"` NotifTime sql.NullTime `json:"notif_time"` CreatedAt time.Time `json:"created_at"` Username sql.NullString `json:"username"` }
type AccountsFollow ¶
type AccountsQueue ¶
type CommentFeature ¶
type CreateAccountsParams ¶
type CreateAccountsParams struct { Owner string `json:"owner"` IsPrivate bool `json:"is_private"` PhotoDir sql.NullString `json:"photo_dir"` }
type CreateEntriesParams ¶
type CreatePostParams ¶
type CreateRetweetResult ¶
type CreateRetweetResult struct { ErrCode int `json:"err_code"` Post PostTXResult `json:"post"` }
type CreateSessionParams ¶
type CreateUserParams ¶
type DBTxRequest ¶
type DeleteRetweetParams ¶
type GetAccountByEmailRow ¶
type GetAccountsFollowParams ¶
type GetAccountsInfoRow ¶
type GetAccountsQueueParams ¶
type GetEmailParams ¶
type GetEmailRow ¶
type GetEntriesFullParams ¶
type GetLikeInfoParams ¶
type GetLikeRowsParams ¶
type GetPostJoinRow ¶
type GetPostQRetweetJoinRow ¶
type GetPostidretweetJoinRow ¶
type GetQouteRetweetParams ¶
type GetQueueRowsParams ¶
type GetRetweetJoinParams ¶
type GetRetweetParams ¶
type GetRetweetRowsParams ¶
type GetSessionuserRow ¶
type LikeFeature ¶
type ListAccountsParams ¶
type ListCommentParams ¶
type ListCommentRow ¶
type ListEntriesParams ¶
type ListPostParams ¶
type ListQueueParams ¶
type ListQueueRow ¶
type ListUserParams ¶
type Model ¶
type Model interface {
CreateAccountsQueueTX(ctx context.Context, arg CreateAccountQueueParams) (bool, error)
}
type PostFeature ¶
type PostTXResult ¶
type PostTXResult struct { Post Post `json:"post"` PostFeature PostFeature `json:"post_feature"` }
type PrivateAccountParams ¶
type QouteRetweetFeature ¶
type Querier ¶
type Querier interface { CreateAccountQueue(ctx context.Context, arg CreateAccountQueueParams) (AccountsQueue, error) CreateAccounts(ctx context.Context, arg CreateAccountsParams) (Account, error) CreateAccountsFollow(ctx context.Context, arg CreateAccountsFollowParams) (AccountsFollow, error) CreateComment_feature(ctx context.Context, arg CreateComment_featureParams) (string, error) CreateEntries(ctx context.Context, arg CreateEntriesParams) (Entry, error) CreateLike_feature(ctx context.Context, arg CreateLike_featureParams) error CreatePost(ctx context.Context, arg CreatePostParams) (Post, error) CreatePost_feature(ctx context.Context, postID uuid.UUID) (PostFeature, error) CreatePrivateQueue(ctx context.Context, arg CreatePrivateQueueParams) (AccountsQueue, error) CreateQouteRetweet_feature(ctx context.Context, arg CreateQouteRetweet_featureParams) (string, error) CreateRetweet_feature(ctx context.Context, arg CreateRetweet_featureParams) error CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error) CreateUser(ctx context.Context, arg CreateUserParams) (User, error) DeleteAccountQueue(ctx context.Context, arg DeleteAccountQueueParams) error DeleteAccountsFollow(ctx context.Context, arg DeleteAccountsFollowParams) error DeleteAcoountsQueue(ctx context.Context, arg DeleteAcoountsQueueParams) error DeletePost(ctx context.Context, id uuid.UUID) error DeletePostFeature(ctx context.Context, postID uuid.UUID) error DeleteQouteRetweet(ctx context.Context, arg DeleteQouteRetweetParams) error DeleteRetweet(ctx context.Context, arg DeleteRetweetParams) error GetAccountByEmail(ctx context.Context, email string) (GetAccountByEmailRow, error) GetAccountForUpdate(ctx context.Context, id int64) (Account, error) GetAccounts(ctx context.Context, id int64) (Account, error) GetAccountsFollow(ctx context.Context, arg GetAccountsFollowParams) (bool, error) GetAccountsFollowRows(ctx context.Context, arg GetAccountsFollowRowsParams) (int64, error) GetAccountsInfo(ctx context.Context, id int64) (GetAccountsInfoRow, error) GetAccountsOwner(ctx context.Context, owner string) (Account, error) GetAccountsQueue(ctx context.Context, arg GetAccountsQueueParams) (bool, error) GetEmail(ctx context.Context, arg GetEmailParams) (GetEmailRow, error) GetEntries(ctx context.Context, entriesID int64) (Entry, error) GetEntriesFull(ctx context.Context, arg GetEntriesFullParams) error GetLikeInfo(ctx context.Context, arg GetLikeInfoParams) (LikeFeature, error) GetLikeRows(ctx context.Context, arg GetLikeRowsParams) (int64, error) GetLikejoin(ctx context.Context, postid uuid.UUID) (bool, error) GetPost(ctx context.Context, id uuid.UUID) (Post, error) GetPostJoin(ctx context.Context, id uuid.UUID) (GetPostJoinRow, error) GetPostQRetweetJoin(ctx context.Context, arg GetPostQRetweetJoinParams) (GetPostQRetweetJoinRow, error) GetPost_feature(ctx context.Context, postID uuid.UUID) (PostFeature, error) GetPost_feature_Update(ctx context.Context, postID uuid.UUID) (GetPost_feature_UpdateRow, error) GetPostidretweetJoin(ctx context.Context, arg GetPostidretweetJoinParams) (GetPostidretweetJoinRow, error) GetQouteRetweet(ctx context.Context, arg GetQouteRetweetParams) (QouteRetweetFeature, error) GetQouteRetweetJoin(ctx context.Context, postID uuid.UUID) (bool, error) GetQouteRetweetRows(ctx context.Context, arg GetQouteRetweetRowsParams) (int64, error) GetQueueRows(ctx context.Context, arg GetQueueRowsParams) (int64, error) GetRetweet(ctx context.Context, arg GetRetweetParams) (RetweetFeature, error) GetRetweetJoin(ctx context.Context, arg GetRetweetJoinParams) (bool, error) GetRetweetRows(ctx context.Context, arg GetRetweetRowsParams) (int64, error) GetSession(ctx context.Context, id uuid.UUID) (Session, error) GetSessionuser(ctx context.Context, username string) (GetSessionuserRow, error) GetUser(ctx context.Context, username string) (User, error) ListAccounts(ctx context.Context, arg ListAccountsParams) ([]Account, error) ListComment(ctx context.Context, arg ListCommentParams) ([]ListCommentRow, error) ListEntries(ctx context.Context, arg ListEntriesParams) ([]Entry, error) ListPost(ctx context.Context, arg ListPostParams) ([]Post, error) ListQueue(ctx context.Context, arg ListQueueParams) ([]ListQueueRow, error) ListUser(ctx context.Context, arg ListUserParams) ([]User, error) PrivateAccount(ctx context.Context, arg PrivateAccountParams) error UpdateAccountFollower(ctx context.Context, arg UpdateAccountFollowerParams) (Account, error) UpdateAccountFollowing(ctx context.Context, arg UpdateAccountFollowingParams) (Account, error) UpdateAccountQueue(ctx context.Context, arg UpdateAccountQueueParams) error UpdateLike(ctx context.Context, arg UpdateLikeParams) error UpdatePhoto(ctx context.Context, arg UpdatePhotoParams) error UpdatePost(ctx context.Context, arg UpdatePostParams) (Post, error) UpdatePost_feature(ctx context.Context, arg UpdatePost_featureParams) (PostFeature, error) UpdateQouteRetweet(ctx context.Context, arg UpdateQouteRetweetParams) error UpdateRetweet(ctx context.Context, arg UpdateRetweetParams) error }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateAccountQueue ¶
func (q *Queries) CreateAccountQueue(ctx context.Context, arg CreateAccountQueueParams) (AccountsQueue, error)
func (*Queries) CreateAccounts ¶
func (*Queries) CreateAccountsFollow ¶
func (q *Queries) CreateAccountsFollow(ctx context.Context, arg CreateAccountsFollowParams) (AccountsFollow, error)
func (*Queries) CreateComment_feature ¶
func (*Queries) CreateEntries ¶
func (*Queries) CreateLike_feature ¶
func (q *Queries) CreateLike_feature(ctx context.Context, arg CreateLike_featureParams) error
func (*Queries) CreatePost ¶
func (*Queries) CreatePost_feature ¶
func (*Queries) CreatePrivateQueue ¶
func (q *Queries) CreatePrivateQueue(ctx context.Context, arg CreatePrivateQueueParams) (AccountsQueue, error)
func (*Queries) CreateQouteRetweet_feature ¶
func (*Queries) CreateRetweet_feature ¶
func (q *Queries) CreateRetweet_feature(ctx context.Context, arg CreateRetweet_featureParams) error
func (*Queries) CreateSession ¶
func (*Queries) CreateUser ¶
func (*Queries) DeleteAccountQueue ¶
func (q *Queries) DeleteAccountQueue(ctx context.Context, arg DeleteAccountQueueParams) error
func (*Queries) DeleteAccountsFollow ¶
func (q *Queries) DeleteAccountsFollow(ctx context.Context, arg DeleteAccountsFollowParams) error
func (*Queries) DeleteAcoountsQueue ¶
func (q *Queries) DeleteAcoountsQueue(ctx context.Context, arg DeleteAcoountsQueueParams) error
func (*Queries) DeletePostFeature ¶
func (*Queries) DeleteQouteRetweet ¶
func (q *Queries) DeleteQouteRetweet(ctx context.Context, arg DeleteQouteRetweetParams) error
func (*Queries) DeleteRetweet ¶
func (q *Queries) DeleteRetweet(ctx context.Context, arg DeleteRetweetParams) error
func (*Queries) GetAccountByEmail ¶
func (*Queries) GetAccountForUpdate ¶
func (*Queries) GetAccounts ¶
func (*Queries) GetAccountsFollow ¶
func (*Queries) GetAccountsFollowRows ¶
func (*Queries) GetAccountsInfo ¶
func (*Queries) GetAccountsOwner ¶
func (*Queries) GetAccountsQueue ¶
func (*Queries) GetEmail ¶
func (q *Queries) GetEmail(ctx context.Context, arg GetEmailParams) (GetEmailRow, error)
func (*Queries) GetEntries ¶
func (*Queries) GetEntriesFull ¶
func (q *Queries) GetEntriesFull(ctx context.Context, arg GetEntriesFullParams) error
func (*Queries) GetLikeInfo ¶
func (q *Queries) GetLikeInfo(ctx context.Context, arg GetLikeInfoParams) (LikeFeature, error)
func (*Queries) GetLikeRows ¶
func (*Queries) GetLikejoin ¶
func (*Queries) GetPostJoin ¶
func (*Queries) GetPostQRetweetJoin ¶
func (q *Queries) GetPostQRetweetJoin(ctx context.Context, arg GetPostQRetweetJoinParams) (GetPostQRetweetJoinRow, error)
func (*Queries) GetPost_feature ¶
func (*Queries) GetPost_feature_Update ¶
func (*Queries) GetPostidretweetJoin ¶
func (q *Queries) GetPostidretweetJoin(ctx context.Context, arg GetPostidretweetJoinParams) (GetPostidretweetJoinRow, error)
func (*Queries) GetQouteRetweet ¶
func (q *Queries) GetQouteRetweet(ctx context.Context, arg GetQouteRetweetParams) (QouteRetweetFeature, error)
func (*Queries) GetQouteRetweetJoin ¶
func (*Queries) GetQouteRetweetRows ¶
func (*Queries) GetQueueRows ¶
func (*Queries) GetRetweet ¶
func (q *Queries) GetRetweet(ctx context.Context, arg GetRetweetParams) (RetweetFeature, error)
func (*Queries) GetRetweetJoin ¶
func (*Queries) GetRetweetRows ¶
func (*Queries) GetSession ¶
func (*Queries) GetSessionuser ¶
func (*Queries) ListAccounts ¶
func (*Queries) ListComment ¶
func (q *Queries) ListComment(ctx context.Context, arg ListCommentParams) ([]ListCommentRow, error)
func (*Queries) ListEntries ¶
func (*Queries) ListQueue ¶
func (q *Queries) ListQueue(ctx context.Context, arg ListQueueParams) ([]ListQueueRow, error)
func (*Queries) PrivateAccount ¶
func (q *Queries) PrivateAccount(ctx context.Context, arg PrivateAccountParams) error
func (*Queries) UpdateAccountFollower ¶
func (*Queries) UpdateAccountFollowing ¶
func (*Queries) UpdateAccountQueue ¶
func (q *Queries) UpdateAccountQueue(ctx context.Context, arg UpdateAccountQueueParams) error
func (*Queries) UpdateLike ¶
func (q *Queries) UpdateLike(ctx context.Context, arg UpdateLikeParams) error
func (*Queries) UpdatePhoto ¶
func (q *Queries) UpdatePhoto(ctx context.Context, arg UpdatePhotoParams) error
func (*Queries) UpdatePost ¶
func (*Queries) UpdatePost_feature ¶
func (q *Queries) UpdatePost_feature(ctx context.Context, arg UpdatePost_featureParams) (PostFeature, error)
func (*Queries) UpdateQouteRetweet ¶
func (q *Queries) UpdateQouteRetweet(ctx context.Context, arg UpdateQouteRetweetParams) error
func (*Queries) UpdateRetweet ¶
func (q *Queries) UpdateRetweet(ctx context.Context, arg UpdateRetweetParams) error
type RetweetFeature ¶
type SQLStore ¶
func (*SQLStore) CreateAccountsQueueTX ¶
func (*SQLStore) DBnTx ¶
func (s *SQLStore) DBnTx(ctx context.Context, removeFn func(ctx context.Context, key string) error, fn func(q *Queries) (string, error)) error
DBnTx is a function that will be used to execute a transaction with a function that returns a string and a function that will be used to remove the key from the third party db/cloud example: redis and gcp
type Session ¶
type Session struct { ID uuid.UUID `json:"id"` Username string `json:"username"` RefreshToken string `json:"refresh_token"` UserAgent string `json:"user_agent"` ClientIp string `json:"client_ip"` IsBlocked bool `json:"is_blocked"` ExpiresAt time.Time `json:"expires_at"` CreatedAt time.Time `json:"created_at"` }
type Token ¶
type Token struct { Email string `json:"email"` AccessToken string `json:"access_token"` RefreshToken sql.NullString `json:"refresh_token"` TokenType sql.NullString `json:"token_type"` Expiry sql.NullTime `json:"expiry"` Raw pqtype.NullRawMessage `json:"raw"` ID uuid.UUID `json:"id"` }
type UpdateLikeParams ¶
type UpdatePhotoParams ¶
type UpdatePhotoParams struct { Filedirectory sql.NullString `json:"filedirectory"` Username string `json:"username"` Accountid int64 `json:"accountid"` }
type UpdatePostParams ¶
type UpdateRetweetParams ¶
Click to show internal directories.
Click to hide internal directories.