4 ms·
> Given that it has no template language Ahem... http://golang.org/pkg/html/template/ http://golang.org/pkg/html/template/ It doesn't have its own equivalent
by genbattle 14y ago
> Given that it has no template language
Ahem...
http://golang.org/pkg/html/template/ http://golang.org/pkg/html/template/
It doesn't have its own equivalent of RoR or Django yet because most of the batteries needed for web development are built-in.
- dalke 14y agoMy knowledge of this comes from the linked-to tutorial: "Web.go doesn't include a templating library. However, there are several good ones available, such as mustache.go. The template package in Go is not recommended for web.go because it doesn't allow templates to be embedded within each other, which causes a lot of duplicated text." It seems that the web.go authors thinks that Go's template language batteries are of the wrong size.
- cmccabe 14y agoWeb.go is sort of the Golang equivalent of Sinatra or Camping, not really of Ruby on Rails. What you're looking for is Revel. http://robfig.github.com/revel/ http://robfig.github.com/revel/
- dalke 14y agoTo be honest, I'm not looking. I'm only commenting that the original statement - that webgo is something like RoR - is incorrect. Thanks for the confirmation.