package
1.5.4
Repository: https://github.com/traptitech/booq.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CancelLike likeを消す.
CheckOwnsOrAdmin 管理者またはItemの所有者かどうかを判定する.
CheckTargetedOrAdmin 管理者または対象のUserかどうかを判定する.
CreateComments 新しいCommentを登録する.
CreateFile Fileを作成する.
CreateItem 新しいItemを登録する.
CreateLike likeを押す.
CreateLog logを作成する.
CreateUser userを作成する.
DestroyItem itemを削除する.
EstablishConnection DBに接続する.
GetCommentsByUserID UserIDからCommentsを取得する.
GetItemByID IDからitemを取得する.
GetItemByName Nameからitemを取得する.
GetItems 全itemを取得する.
GetLatestLog ownerIDからLatestLogを取得する.
GetLatestLogs 各所有者ごとの最新のログを取得する。.
GetUserByID userをIDから取得する.
GetUserByName userをNameから取得する.
GetUsers 全userを取得する.
Migrate DBのマイグレーション.
RegisterOwner 新しい所有者を登録する.
RentalItem 物品を借りたりするときにRentalUserを作成する.
SearchItemsByOwner itemsをOwnerNameから取得する.
SearchItemsByRental itemsをRentalUserNameから取得する.
SearchItems itemsをNameの部分一致で取得する.
UpdateItem itemを変更する.
UpdateUser userの情報(表示される名前やアイコン、管理者権限)の変更.

# Constants

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
No description provided by the author

# Structs

Comment commentの構造体.
File アップロードファイルの構造体.
No description provided by the author
No description provided by the author
Item itemの構造体.
Log logの構造体.
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
No description provided by the author
No description provided by the author
Tag tagの構造体.
Tagmap tagmapの構造体.
User userの構造体.