use nullable string in user

This commit is contained in:
Dustin Pianalto
2021-01-23 16:05:02 -09:00
parent 6df9d6366f
commit 106333c26b
2 changed files with 3 additions and 2 deletions
+3 -1
View File
@@ -1,8 +1,10 @@
package geeksbot
import "database/sql"
type User struct {
ID string
SteamID string
SteamID sql.NullString
IsActive bool
IsStaff bool
IsAdmin bool