Live data from Hacker News

Show HN: Gova – The declarative GUI framework for Go

github.com

11–20 of 30 posts

Re: Show HN: Gova – The declarative GUI framework for Go

#11
post #6

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

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.

Re: Show HN: Gova – The declarative GUI framework for Go

#13
post #6

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

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.

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.

Re: Show HN: Gova – The declarative GUI framework for Go

#15
post #2

The code looks nice, but when I read GUI, I want to see screenshots of GUIs. Apparently a major dependency is "Fyne", which does show some screenshots on their page: https://fyne.io/

Came here to say the same. Please add a few screenshots!

Dear Future architect of some neat new technology to be someday posted on HN please do the following:

If you make anything with a UI, even a GUI stack, always include screenshots. If you make a programming language or programming framework / library, always include code samples!

Really show us nerds the bits we want to see right away, screenshots / code or even a video (fully optional, unless its some type of terminal shell or something where a video would illuminate things!) would sell it better. Many of us are working and don't yet have time to pull down everything to run it locally.

Honestly, even if its not open source, if you're selling a product, SHOW THE PRODUCT not just descriptions of the product.

Re: Show HN: Gova – The declarative GUI framework for Go

#20
Somewhat related (but not declarative): Qt bindings for Go, MIT-licensed.

https://github.com/mappu/miqt

With the compiler flags I tried, binary size was close to that of Gova:

https://github.com/mappu/miqt/issues/147#issuecomment-280033...

Qt bindings for Zig, using the same approach as MIQT:

https://github.com/rcalixte/libqt6zig

Post reply on HN