mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 23:40:35 +01:00
6282a71a6f
Read HISTORY.md Former-commit-id: 82df2d266055818ffafe0ba66b58cf4ed9089922
12 lines
507 B
Go
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
|
|
}
|