1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 18:37:05 +00:00
Files
kararas_iris/internal/cmd/gen/website/recipe/example/example.go
kataras 6282a71a6f 7.0.1 - https://github.com/iris-contrib/community-board/issues/1 https://github.com/iris-contrib/community-board/issues/2
Read HISTORY.md


Former-commit-id: 82df2d266055818ffafe0ba66b58cf4ed9089922
2017-06-07 07:20:53 +03:00

12 lines
507 B
Go

package example
// Example defines the example link.
type Example struct {
Name string // i.e: Hello World
DataSource string // i.e: https://raw.githubusercontent.com/iris-contrib/examples/master/hello-world.go
Children []Example // if has children the data source is not a source file, it's just a folder, its the template's H2 tag.
// needed for the raw templates, we can do a simple func but lets keep it simple, it's a small template file.
HasChildren bool
HasNotChildren bool
}