mirror of
https://github.com/kataras/iris.git
synced 2025-02-04 00:10:35 +01:00
14 lines
421 B
Go
14 lines
421 B
Go
|
package examples
|
||
|
|
||
|
// Category defines the category of which will contain examples.
|
||
|
type Category struct {
|
||
|
Name string // i.e "Beginner", "Intermediate", "Advanced", first upper.
|
||
|
Examples []Example
|
||
|
}
|
||
|
|
||
|
// Example defines the example link.
|
||
|
type Example struct {
|
||
|
Name string // i.e: Hello World
|
||
|
DataSource string // i.e: https://raw.githubusercontent.com/kataras/iris/master/_examples/beginner/hello-world.go
|
||
|
}
|