-
e.g. `curl -I https://go.octolab.org/toolkit/cli/?go-get=1`
```
HTTP/2 404
content-type: text/html; charset=utf-8
```
-
- [ ] add specific header
```go
req.Header.Set(http.XFeatures, config.Feature{Name, false}.String())
```
- [ ] extend config module
```go
features.Find -> alias for FindByName
config.Features…
-
- [ ] define type
```go
type Middleware func (http.RoundTripper) http.RoundTripper
```
- [ ] prefixed RoundTripper
```go
func RoundTripper(prefix) Middleware
```
- [ ] timeout RoundTripper
``…
-
when new subpackage or package released
-
https://travis-ci.com/github/octolab/pkg/jobs/350339344
```
# go.octolab.org/runtime_test [go.octolab.org/runtime.test]
262runtime/caller_test.go:225:4: misplaced compiler directive
263runtime…
-
- [x] research https://github.com/golang/gddo
- [x] problems with `go.octolab.org/tookit/*`, e.g. https://godoc.org/go.octolab.org/toolkit/cli
- [x] problems with `pkg`, e.g. https://godoc.org/go.oc…
-
e.g. https://github.com/octolab/cli.git
-
to simplify the code
https://github.com/goreleaser/goreleaser/commit/0736162d5efc262b324b9416b10750cd50182c41
```go
errors.Retriable{err}
```
-
The concept:
```go
sequence := new(integer.generator).Since(10).Rhythm(func (int64) int64).Until(10^5)
for range sequence.Source() { ... } // math.MaxInt64 by default
sequence.Next() bool
…
-
https://github.com/andrepolischuk/numd-go