mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-06 04:42:36 +02:00
Add getUserProfile and database.IsBanned
This commit is contained in:
parent
44eb1e1fa6
commit
53a764e8bb
13 changed files with 328 additions and 163 deletions
11
service/database/db-results.go
Normal file
11
service/database/db-results.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package database
|
||||
|
||||
type QueryResult int
|
||||
|
||||
// Constants used to represent the result of queries
|
||||
const (
|
||||
SUCCESS = 0
|
||||
ERR_NOT_FOUND = 1
|
||||
ERR_EXISTS = 2
|
||||
ERR_INTERNAL = 3
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue