GeertJohan/go.rice
View on GitHub ↗ ★ 2,435 Go
go.rice is a Go package that makes working with resources such as html,js,css,images,templates, etc very easy.
9 mentions on Hacker News by 9 people: 0 stories, 9 comments · first 2014-08-24 · latest 2021-01-17
20082026
-
How does statik compare to rice, which is what I had assumed everyone was using: https://github.com/GeertJohan/go.rice
comment by anderspitman · 2021-01-17 · in REST Servers in Go: Part 1 – standard library -
…being able to produce static binaries. If you're interested in stuff like this for go, I've used https://github.com/GeertJohan/go.rice with great success. [EDIT] "feature" -> "side effect" "rust and golang" -> "rust and golang being able…
comment by hardwaresofton · 2018-04-05 · in Making a Statically-Linked, Single-File Web App with React and Rust -
…but I've used https://github.com/mjibson/esc before and liked it. I found it was a bit simpler than https://github.com/GeertJohan/go.rice .
comment by strken · 2018-04-05 · in Making a Statically-Linked, Single-File Web App with React and Rust -
…want to declare them in-line but also want to ship just an executable, you could use a project like https://github.com/GeertJohan/go.rice which allows you to pack multiple files into a go executable and then reference them like files. 2)…
comment by billhathaway · 2017-12-28 · in Using Go Templates -
https://github.com/GeertJohan/go.rice/ lets you bundle resources into the executable. It's not part of the language but I don't think Python's is either (?)
comment by 0942v8653 · 2015-11-15 · in What will be the legacy of Go? -
Not to forget - https://github.com/rakyll/statik and https://github.com/GeertJohan/go.rice among many others
comment by fortytw2 · 2015-03-03 · in Cross compilation just got better in Go 1.5 -
…using then for small webapps and they both work very well. [0] https://github.com/rakyll/statik [1] https://github.com/GeertJohan/go.rice
comment by kawera · 2014-08-24 · in Gogs: a self-hosted Git Service written in Go -
There are some 3rd party build tools to help with that. Below are a couple I found. https://github.com/GeertJohan/go.rice https://github.com/jteeuwen/go-bindata EDIT: to add, the Go team is looking to add a generate command in go1.4 to…
comment by kyrra · 2014-08-24 · in Gogs: a self-hosted Git Service written in Go -
go.rice ( https://github.com/GeertJohan/go.rice ) does things like this.
comment by mjibson · 2014-08-24 · in Gogs: a self-hosted Git Service written in Go