commit fec40f8b74342938a9a7276315882a20dc113b8c Author: Frederick Holland Date: Thu Oct 16 20:16:01 2025 +1100 Initial commit diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..b833afb --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.bhouse.cdsau.net/frederick.holland/bh_go_models + +go 1.22.2 diff --git a/models/user.go b/models/user.go new file mode 100644 index 0000000..ce59bd2 --- /dev/null +++ b/models/user.go @@ -0,0 +1,9 @@ +package models + +type User struct { + Id string `gorm:"primaryKey" json:"id"` + Firstname string `json:"firstname"` + Lastname string `json:"lastname"` + Email string `json:"email"` + Username string `json:"username"` +}