summaryrefslogtreecommitdiff
path: root/pkg/model/point.go
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-20 03:39:07 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-20 03:41:40 +0300
commitd9e19fc53fb386f4160b8c3e9d7c35aa217d9591 (patch)
tree0c3ce157e8f9317aa7c55915025db5d54ea97911 /pkg/model/point.go
Начальный коммит
Diffstat (limited to 'pkg/model/point.go')
-rw-r--r--pkg/model/point.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/model/point.go b/pkg/model/point.go
new file mode 100644
index 0000000..02e9d43
--- /dev/null
+++ b/pkg/model/point.go
@@ -0,0 +1,14 @@
+package model
+
+import "encoding/gob"
+
+func init() {
+ gob.Register((*Point)(nil))
+}
+
+type Point struct {
+ Username string
+ Email string
+ Password []byte
+ AuthString string
+}