github.com/EngineerKamesh/gofullstack@v0.0.0-20180609171605-d41341d7d4ee/volume4/section2/gopherface/models/userprofile.go (about)

     1  package models
     2  
     3  import "github.com/EngineerKamesh/gofullstack/volume4/section2/gopherface/forms"
     4  
     5  type UserProfile struct {
     6  	PageTitle        string `json:"pageTitle", bson:"pageTitle"`
     7  	UUID             string `json:"uuid" bson:"uuid"`
     8  	Username         string `json:"username" bson:"username"`
     9  	About            string `json:"about" bson:"about"`
    10  	Location         string `json:"location" bson:"location"`
    11  	Interests        string `json:"interests" bson:"interests"`
    12  	ProfileImagePath string `json:"profileImagePath" bson:"profileImagePath"`
    13  	Form             *forms.MyProfileForm
    14  }