Some kind of starting point
This commit is contained in:
11
src/db/types.go
Normal file
11
src/db/types.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package db
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
// User is a user in the system
|
||||
type User struct {
|
||||
ID uuid.UUID `json:"id"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
Reference in New Issue
Block a user