Damian Bogel
Damian Bogel
On this PR: https://github.com/google/go-safeweb/runs/4009332391?check_suite_focus=true I get: ``` Run [ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ] [ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]...
Currently, interceptors can only know what happened before the `Dispatcher` has run. In particular, any kind of time measurements or status code logging is impossible.
Internally at Google we've adopted "restricted" APIs as the canonical way over alternatives ("banned", "unsafe", "unchecked"). A `grep` over "ban" in the repo should help with doing this. We also...
Example: ``` package tools type Fooer struct {} func (*Fooer) Foo() {} ``` 1. Would adding `tools.(*Fooer).Foo` to the banned API list ban calls like `f.Foo()`? 2. Do we want...
https://blog.golang.org/examples
We currently know that if `fmt.Printf` is banned, one cannot directly call `fmt.Printf()`. But does the following snippet bypass the check? ``` x := fmt.Printf x("hey") ```