ctxdata
ctxdata copied to clipboard
minor: GetAllMap method docstring is incorrect
https://github.com/peterbourgon/ctxdata/blob/503d7993117f2a5e17d15720b54f47a80c06a9d1/data.go#L121-L122
This method returns only a single map[string]interface{} value but the current docstring states that:
If this method is called on a nil Data pointer, it returns ErrNoData.
It should instead read:
If this method is called on a nil Data pointer, it returns an empty map.
Oops!
GetAllSlice too!