Skip to content

Commit

Permalink
add go routines
Browse files Browse the repository at this point in the history
  • Loading branch information
Jnsj4 committed Jun 23, 2023
1 parent ab46517 commit 0ab629f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/profile/UpdatePhotoProfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func UpdatePhotoProfile(c *gin.Context, router *gin.RouterGroup) {
user models.UserDescDB
photoProfileUser models.UserPhotoProfileDB
photoProfileUpload models.PhotoProfile
wg *sync.WaitGroup
wg sync.WaitGroup
)

db, err := database.ConnectDB()
Expand Down
2 changes: 1 addition & 1 deletion controllers/profile/UploadPhotoProfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func PhotoProfileUpload(c *gin.Context, router *gin.RouterGroup) {
ppUpload models2.PhotoProfile
user models2.UserDescDB
photoProfileDB models2.UserPhotoProfileDB
wg *sync.WaitGroup
wg sync.WaitGroup
)

db, err := database.ConnectDB()
Expand Down

3 comments on commit 0ab629f

@vercel
Copy link

@vercel vercel bot commented on 0ab629f Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 0ab629f Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 0ab629f Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.