Remix.run Logo
donatj 5 hours ago

This wraps Fyne? As a long time user of Fyne, what does this provide beyond Fyne itself?

red_admiral 3 hours ago | parent | next [-]

A "mithril" like syntax. Like you could do (wrapped over multiple lines of course)

m.div([m.h1("title"), m.p(["click", m.a({href:"..."}, "me")])])

you can do (taken from the page)

g.VStack(g.Text(...), g.HStack(...).Spacing(g.SpaceMD))

some people will like this style, others not.

neomantra 2 hours ago | parent [-]

The repo doesn't say it, but the Author noted on the Gophers Slack #showandtell that the style was inspired by SwiftUI. That VStack example shows it quite well.

rubenvanwyk 4 hours ago | parent | prev [-]

I think styling and ready-made components out of the box?