Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PA-22055 Add Packages #6

Merged
merged 4 commits into from
Aug 31, 2023
Merged

PA-22055 Add Packages #6

merged 4 commits into from
Aug 31, 2023

Conversation

rafet
Copy link
Collaborator

@rafet rafet commented Aug 24, 2023

  • codeerr
  • requester
  • simpleroute

Copy link
Collaborator

@sezaakgun sezaakgun left a comment

Choose a reason for hiding this comment

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

readme ekleyelim her pakete pls nasıl kullanıldığına dair

@rafet rafet requested a review from sezaakgun August 24, 2023 10:45
inssimpleroute/README.md Outdated Show resolved Hide resolved
@rafet rafet requested a review from sezaakgun August 24, 2023 12:34
inscodeerr/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@Jamil-Najafov Jamil-Najafov left a comment

Choose a reason for hiding this comment

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

whatever seza says.


```go
timeoutSeconds := 30
requester.WithTimeout(timeoutSeconds)
Copy link
Contributor

Choose a reason for hiding this comment

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

burada request'in kendi timeout'u olduğu, overridable olduğunu not etmek iyi olur.

Copy link
Contributor

Choose a reason for hiding this comment

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

değil mi yoksa : D

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

overridable olmali :D

Copy link
Contributor

@Jamil-Najafov Jamil-Najafov Aug 25, 2023

Choose a reason for hiding this comment

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

şöyle düşünmüştüm.

  1. requester'in default timeout'u var. - bunu açık ifade edebilirsin.
  2. default'u istediğin sayıya setleyebiliyorsun WithTimeout diyerek. - bu zaten yazdın.
  3. request gönderirken, sadece o request için requester'in default'unu override edebiliyorsun. - bu özellik kodda yok gibi

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

timeout request'e degil requester'a ozel olmali bence. o yuzden her is icin ayri requester aciyoruz. kullandigimiz pakette oyle bi ozellik yok baktigim kadariyla. requester'a ne veriyosan onu kullaniyo. request'in timeout'una bakmiyo

@sezaakgun
Copy link
Collaborator

bu insrequester go-pkg-private da da versiyon çakışması yaratıyor sanırım, şu an 4 ayrı requester var bunları birleştirmemiz lazım :D

@Jamil-Najafov
Copy link
Contributor

@rafet assignee pls

@rafet rafet self-assigned this Aug 25, 2023
@sezaakgun sezaakgun merged commit e07a6ba into develop Aug 31, 2023
@sezaakgun sezaakgun deleted the PA-23055 branch August 31, 2023 14:54
@sezaakgun sezaakgun mentioned this pull request Aug 31, 2023
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.

3 participants