Documentation ¶ Index ¶ Variables func CreateProfile(username string, email string) func Routes() *chi.Mux type User Constants ¶ This section is empty. Variables ¶ View Source var ( DB *sql.DB TokenAuth *jwtauth.JWTAuth ) Functions ¶ func CreateProfile ¶ func CreateProfile(username string, email string) func Routes ¶ func Routes() *chi.Mux Types ¶ type User ¶ type User struct { Username string `json:"username",db:"username"` Email string `json:"email",db:"email"` Country string `json:"location",db:"location"` Bio string `json:"bio",db:"bio"` } Source Files ¶ View all Source files users.go Click to show internal directories. Click to hide internal directories.