Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2014 (3)
20082026
  1. 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
  2. …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…
  3. …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 .
  4. …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
  5. 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?
  6. Not to forget - https://github.com/rakyll/statik and https://github.com/GeertJohan/go.rice among many others
  7. …using then for small webapps and they both work very well. [0] https://github.com/rakyll/statik [1] https://github.com/GeertJohan/go.rice
  8. 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…
  9. go.rice ( https://github.com/GeertJohan/go.rice ) does things like this.