Added completed user. Some fixes and more more more...
This commit is contained in:
parent
b96dd39795
commit
ea8ab7c0ed
33 changed files with 576 additions and 212 deletions
|
|
@ -1,8 +1,18 @@
|
|||
package responses
|
||||
|
||||
type UserResponse struct {
|
||||
Id string `json:"id"`
|
||||
UserName string `json:"username"`
|
||||
}
|
||||
import "time"
|
||||
|
||||
type UserResponse struct {
|
||||
Id string `json:"id"`
|
||||
UserName string `json:"username"`
|
||||
Name string `json:"name"`
|
||||
Role string `json:"role"`
|
||||
Speciality string `json:"speciality"`
|
||||
Description string `json:"description"`
|
||||
Skills []string `json:"skills"`
|
||||
Avatar string `json:"avatar"`
|
||||
JoinDate time.Time `json:"joinDate"`
|
||||
Projects []string `json:"projects"`
|
||||
Motto string `json:"motto"`
|
||||
}
|
||||
type UserResponseList []UserResponse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue