Emil Nikolov
Emil Nikolov
I'm trying to deploy to a host from a flake that contains a git submodule. Flakes can support submodules by doing something like this: `nix build .?submodules=1#package` Is there a...
#562: assert.NoError() and assert.Error() now behave correctly when a nil error struct is supplied
Fixes #562 assert.Nil already does this correctly by checking via reflection if the supplied value isn't nil wrapped in an interface in order to not give false results. I think...
If I scroll up for one "tick" of the mouse wheel and then down again, the scrollTop position is 1 pixel above where it started. If I repeat it multiple...
## Bug description On regular NixOS and other distributions `/run/user/$UID` has `0700` access permissions but on NixOS-WSL it has `0755`. This causes problems for some programs like 1password's CLI `op`...
All standard library flags since Go 1.2 implement the Getter interface and I think that pflag should do it too. https://github.com/golang/go/blob/master/src/flag/flag.go#L306 ```go // Getter is an interface that allows the...
Implements https://github.com/spf13/pflag/issues/320
```Go package chai_test import ( "fmt" "github.com/go-chi/docgen" ) //Comment func Simple() string { return "hello" } func ExampleGetFuncInfo() { fmt.Println(docgen.GetFuncInfo(Simple).Comment) // Output: // Comment } ``` https://github.com/go-chai/chai/blob/main/openapi2/funcinfo_test.go This example fails...
I wrote https://github.com/go-chai/chai, which is an extension for chi that provides support for type safe http handlers via generics. This allows it to also provide swagger spec generation that automatically...
Currently docgen creates markdown documentation that contains HTML tags, and it looks weird in [bitbucket](https://bitbucket.org/enikolov/chi/src/624e6e12e9bc3b3073f539dab52abecdec01d769/_examples/rest/routes.md?at=master&fileviewer=file-view-default). Maybe add an option to disable HTML in the generated output. Additionally, their syntax for...
## 🐛 Bug ### To Reproduce The following script works differently in pyodide v0.26.0a compared to v0.25.0: ```python import asyncio import js def exception_handler(loop, context): js.console.error(context["exception"]) print(context["exception"]) asyncio.get_event_loop().set_exception_handler(exception_handler) async def...