Skip to content

Assignment day6#7

Open
SahilBheke25 wants to merge 2 commits into
mainfrom
AssignmentDay6
Open

Assignment day6#7
SahilBheke25 wants to merge 2 commits into
mainfrom
AssignmentDay6

Conversation

@SahilBheke25

@SahilBheke25 SahilBheke25 commented Jan 22, 2025

Copy link
Copy Markdown
Owner

Day 6 Assignment

  1. Printing conversation using Go routine & channel
  2. Reversing a string using Go routine

Ticket URL: https://app.clickup.com/t/86cxqph18

1) Conversation using Goroutines
2) Reserse a String
Comment thread Day6/conversation.go
messageSlice := message[prevIndex:i]
wg.Add(1)

go func(i int) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

whenever you get time. try to use select for reading from channel

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants