Markus Wüstenberg

Results 50 comments of Markus Wüstenberg

I'm closing this now, since I'm not sure it's a solution in gomponents itself that's required.

@amrojjeh ah, that's why! I wondered, because I don't usually just ignore errors. :D Maybe I should add a comment there. Anyway, I think I'll close this. I think it's...

Hi @erikd234 . I've thought about doing a converter from HTML to gomponents, but haven't tried it yet. I think that could be an interesting little project! What I usually...

Note to self: there's an HTML parser: https://pkg.go.dev/golang.org/x/net/html

@PiotrKowalski , that is so super cool! :D Could you host it somewhere that can take some traffic? Then I'll link to it from the gomponents website.

@PiotrKowalski no stress, it comes up when it comes up. 😊 Let me know!

The issue is about not pruning code that is used in other, dependent APIs, where those APIs are known when generating, I think? In which case it would make sense...

You could add a prefix to your `const`s and then strip it: ```go //go:generate go run github.com/dmarkham/enumer -type EnumA -trimprefix EnumA type EnumA int const ( EnumATest EnumA = iota...

@toddsifleet Thanks for your answer. My problem is complicated by the fact that there are multiple methods on the `Stats` class I want to test/mock and only one that has...

Cool, thanks a lot!