package
0.0.0-20210815043632-f26ce0e21b2b
Repository: https://github.com/monkukui/procon-qa.git
Documentation: pkg.go.dev

# Functions

回答 を作成.
作成.
No description provided by the author
No description provided by the author
Notification を 1 つ作成.
question を作成.
作成.
good を 1 つ作成.
No description provided by the author
answer を 1 つ削除.
一つ削除.
good を複数削除.
good を 1 つ削除.
Notification を一つ削除.
question を 1 つ削除.
一つ削除.
good を 1 つ削除.
user を 1 つ削除.
複数取得.
いいねを取得 例えば, UID AID 指定で,存在するかを判定できそう.
おそらくだけども, 引数はわりと自由 例えば, {QID: 3} を渡すと, Question に紐ずいた検索ができそう.
条件を満たす「質問」を, 固定長取得する page := ページ番号( 1-indexed ), length := 1 ページあたりのアイテム数.
いいねを取得 例えば, UID QID 指定で,存在するかを判定できそう.
Notification の配列を取得.
複数取得.
いいねを取得 例えば, UID QID 指定で,存在するかを判定できそう.
おそらくだけども, 引数はわりと自由 例えば, {UID: 3} を渡すと, 絞り込みで取得ができるっぽい.
条件を満たす「質問」を, 固定長取得する page := ページ番号( 1-indexed ), length := 1 ページあたりのアイテム数.
No description provided by the author
No description provided by the author
条件を満たす「質問」を, 固定長取得する page := ページ番号( 1-indexed ), length := 1 ページあたりのアイテム数.
answer を UPDATE.
更新.
notification を UPDATE 通知に関して,変更するのは既読フラグだけなのでこれでいい.
question を UPDATE.
更新.
user を UPDATE.

# Structs

回答テーブル.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
質問テーブル.
No description provided by the author
No description provided by the author
パスワードは json として送る必要がない.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
Question の配列として定義.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Question の配列として定義.
No description provided by the author
User の配列として定義.