Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateUser ¶
UpdateUser updates an existing user in the database
Types ¶
type User ¶
type User struct { TwitterID string `bson:"twitter_id"` TwitterScreenName string `bson:"twitter_screen_name"` ETHAddress string `bson:"eth_address"` PassedKYCDemo bool `bson:"passed_kyc_demo"` PassedKYCLive bool `bson:"passed_kyc_live"` SkipKYC bool `bson:"skip_kyc"` DateOfContact time.Time `bson:"date_of_contact"` HasUsedClient bool `bson:"used_client"` HasBeenAskedForFeedback bool `bson:"asked_for_feedback"` }
User struct for a twitter user
Click to show internal directories.
Click to hide internal directories.