summaryrefslogtreecommitdiff
path: root/pkg/model/point.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/model/point.go')
-rw-r--r--pkg/model/point.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/model/point.go b/pkg/model/point.go
index 02e9d43..3975ed9 100644
--- a/pkg/model/point.go
+++ b/pkg/model/point.go
@@ -7,8 +7,8 @@ func init() {
}
type Point struct {
- Username string
- Email string
- Password []byte
- AuthString string
+ Username string `json:"username"`
+ Email string `json:"email"`
+ Password []byte `json:"-"`
+ AuthString string `json:"auth_string"`
}