Erik Dubbelboer

Results 272 comments of Erik Dubbelboer

Correct but this is to convert a string to a `[]byte` which does require `SliceHeader` as you need to set the capacity which a string doesn't have in it's header....

That will only work in cases where you never look at the capacity of the returned slice. If you do something that looks at the capacity it will fail horribly...

@pquerna I have added a test. Without my change the test will fail with: ``` cannot use &[]IntType literal (type *[]IntType) as type *NamedSlice in assignment ```

That's because `DecodeFast` is not a global method in `ffjson`. [It's a method of `Decoder`](https://github.com/pquerna/ffjson/blob/d49c2bc1aa135aad0c6f4fc2056623ec78f5d5ac/ffjson/decoder.go#L81). So you need to do something like `ffjson.NewDecoder().DecodeFast()`. It has arguments as well so that...

Also running `go vet` on just one file isn't going to work seeing as it depends on other files in the same package as well. Running `go vet` on the...

I think the problems you are have all come from the way ffjson works. ffjson doesn't inspect the Go code to find out which structs exist instead if compiles and...

Looks like its no longer maintained no. Some of the pull requests and issues are easy to deal with and would have been if it was still maintained 😢

Maybe try this until it gets fixed: ```go type Aggs map[string]json.RawMessage ``` Or do you really need it to be a pointer? Since `json.RawMessage` is just a `[]byte` a pointer...

Did you check the headers being sent? It's probably your browser caching the password and automatically authenticating again.

See https://github.com/samizdatco/nginx-http-auth-digest/blob/bd1c86a8c838bfd63de67c896e2e36ae1070cdb3/bugs.txt#L22-L25