2016-10-20 20:30:53 +02:00
|
|
|
+++
|
2016-11-17 08:46:00 +02:00
|
|
|
title = "Embed Resources Example"
|
|
|
|
description = "Embed resources example for Echo"
|
2016-11-21 00:16:22 +02:00
|
|
|
[menu.main]
|
2016-10-20 20:30:53 +02:00
|
|
|
name = "Embed Resources"
|
|
|
|
parent = "recipes"
|
|
|
|
weight = 14
|
|
|
|
+++
|
|
|
|
|
2016-11-17 08:46:00 +02:00
|
|
|
## With go.rice
|
2016-10-20 20:30:53 +02:00
|
|
|
|
|
|
|
`server.go`
|
|
|
|
|
|
|
|
{{< embed "embed-resources/server.go" >}}
|
|
|
|
|
2016-11-17 09:05:37 +02:00
|
|
|
## [Source Code]({{< source "embed-resources" >}})
|
|
|
|
|
2016-11-17 08:46:00 +02:00
|
|
|
## Maintainers
|
2016-10-20 20:30:53 +02:00
|
|
|
|
|
|
|
- [caarlos0](https://github.com/caarlos0)
|
|
|
|
- [maddie](https://github.com/maddie)
|