-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
rafet
commented
Aug 24, 2023
•
edited
Loading
edited
- codeerr
- requester
- simpleroute
There was a problem hiding this 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whatever seza says.
insrequester/README.md
Outdated
|
||
```go | ||
timeoutSeconds := 30 | ||
requester.WithTimeout(timeoutSeconds) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overridable olmali :D
There was a problem hiding this comment.
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.
- requester'in default timeout'u var. - bunu açık ifade edebilirsin.
- default'u istediğin sayıya setleyebiliyorsun WithTimeout diyerek. - bu zaten yazdın.
- request gönderirken, sadece o request için requester'in default'unu override edebiliyorsun. - bu özellik kodda yok gibi
There was a problem hiding this comment.
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
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 |
@rafet assignee pls |