Marat Reimers

Results 58 comments of Marat Reimers

@fscherf as far as I understood, you want to remove `Widget` class in lona 2. What are you going to do with `HTML`? Now it simply is a list of...

> if `lona.html.HTML` parses more than one, it wraps all nodes into one `div` I'm not sure `div` is fine in all cases. Maybe we should add something like `VirtualNode`...

> Do you have an example? No. Let's merge this PR.

@nishanths may I ask you to release a new version with this feature?

I successfully use following query with `unnest` ```sql -- name: InsertOutdatedEntity :exec INSERT INTO outdated_entities (entity_type, entity_id, outdated_at) SELECT @entity_type, unnest(@ids::UUID[]), @outdated_at ON CONFLICT (entity_type, entity_id) DO UPDATE SET outdated_at...

Have you tried multiple `unnest`s for multiple arrays? Something like this should work: ```sql -- name: InsertOutdatedEntity :exec INSERT INTO outdated_entities (entity_type, entity_id, outdated_at) SELECT unnest(@entity_types::VARCHAR[]), unnest(@ids::UUID[]), @outdated_at; ```

Thanks. > Shall I rename this issue title into a feature request for providing also the async flavor? Sure, go ahead.

I've came up with following solution (see [gist](https://gist.github.com/maratori/15cf2a41d52ac6bd27dfced7922f0d28)). `Normalize` returns stable result by minimizing decimal coefficient. ```go var /* const */ ten = big.NewInt(10) var /* const */ zero =...

At first glance it's a good idea. But if I would like to create an example without `output`, I can't use `//nolint` and will have to use `exclude-rules` in `.golangci.yml`....

@ldez you are right. Directives are excluded form godoc. The only exception if it's placed on the same line. ```go //nolint:testableexamples func Example_previousLine() { panic("xxx") } func Example_sameLine() { //nolint:testableexamples...