Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca699f9

Browse files
committed
Code_Updated_Version_1.0.4
1 parent debc657 commit ca699f9

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

image/Sample-jpg-image-200kb.jpg

202 KB
Loading

image/Sample-jpg-image-50kb.jpg

49.9 KB
Loading

models/user.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package models
2+
3+
import "time"
4+
5+
type User struct {
6+
UserID int `bson:"user_id" json:"user_id"`
7+
Name string `bson:"name" json:"name"`
8+
Mobile int `bson:"mobile" json:"mobile"`
9+
Latitude float64 `bson:"latitude" json:"latitude"`
10+
Longitude float64 `bson:"longitude" json:"longitude"`
11+
CreatedAt time.Time `bson:"created_at" json:"created_at"`
12+
UpdatedAt time.Time `bson:"updated_at" json:"updated_at"`
13+
}

0 commit comments

Comments
 (0)