aboutsummaryrefslogtreecommitdiff
path: root/src/user/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/user.go')
-rw-r--r--src/user/user.go17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/user/user.go b/src/user/user.go
index 97fe74c..83e39e3 100644
--- a/src/user/user.go
+++ b/src/user/user.go
@@ -1,7 +1,18 @@
package user
+import (
+ "errors"
+ "time"
+)
+
type User struct {
- Id int64 `json:"id"`
- Username string `json:"username"`
- Karma uint64 `json:"karma"`
+ Id int64
+ Username string
+ Karma uint64
+ UpdatedAt time.Time
+ CreatedAt time.Time
+}
+
+func NewUser(username, secret string) error {
+ return errors.New("Not Implemented")
}