willoma / bulma-gomponents

Bulma helpers for Gomponents
MIT License
10 stars 1 forks source link

Get rid of the "easy" subpackage? #8

Closed willoma closed 5 months ago

willoma commented 6 months ago

I feel like there is something wrong with the "easy" subpackage. I first created it to semi-automatically generate some elements, because at the beginning (way before the first commit in this repo) everything in the main "b" package was simple elements that were meant to mimic the HTML elements with attributes/classes according to what is needed by Bulma.

But the more I coded some elements and components, the more I added automatic adding of some elements. And now that Element is an interface, which is implemented by many structs in "b", I think functions in the "easy" subpackage may be merged with their equivalent in the main "b" package...

willoma commented 6 months ago

Follow-up: I have started doing it in the recent rewrite (while updating the docs and supporting Bulma v1)

willoma commented 5 months ago

Done in v0.5