| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Format with go 1.19 | Sandro Jäckel | 2022-10-26 | 1 | -11/+11 |
| | | |||||
| * | revamp the Headers API | Stefan Majewsky | 2018-03-11 | 1 | -42/+8 |
| | | | | | | | | | | | | | | | | | | | 1. Move common methods of AccountHeaders, ContainerHeaders, ObjectHeaders into a base type Headers. 2. Fold Headers into RequestOptions to remove one of the two optional arguments on request methods. The new Headers.ToOpts() method offers a nice experience for users passing Headers to request methods. The Update() methods keep the explicit Headers argument since the Headers argument is not optional there. The only downside is that we lose a bit of type-safety because RequestOptions takes any Headers instance, so e.g. ContainerHeaders could be passed to Object.Upload(). I believe the benefits outweigh this problem. | ||||
| * | fix doc | Stefan Majewsky | 2018-02-16 | 1 | -2/+6 |
| | | |||||
| * | add ObjectHeaders | Stefan Majewsky | 2018-02-08 | 1 | -2/+17 |
| | | |||||
| * | increase test coverage | Stefan Majewsky | 2018-02-07 | 1 | -1/+1 |
| | | |||||
| * | finish moving towards new auto-generated Headers implementation | Stefan Majewsky | 2018-02-07 | 1 | -44/+36 |
| | | | | | | Everything in one package once more. The bigger API in *this* package is worth it when we don't have to expose guts to cross package boundaries. | ||||
| * | switch from reflection to code generation | Stefan Majewsky | 2018-02-07 | 1 | -0/+124 |
| This allows me to make the API much simpler. More simplification forthcoming in the following commit; I just want to make a cut since `make test` is happy right now. | |||||
