mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 23:40:35 +01:00
1bea8f5803
gen website examples is the first command that I should finish soon because we need it for the website's "Recipe" page. Two more html query-relative dependencies added. Former-commit-id: 04b7f8bb968cbc3c441e2a09a4aa525b10cd4aca
16 lines
311 B
Go
16 lines
311 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/kataras/iris/internal/cmd/gen/website/examples"
|
|
)
|
|
|
|
func main() {
|
|
// just for testing, the cli will be coded when I finish at least with this one command.
|
|
_, err := examples.WriteExamplesTo(os.Stdout) // doesn't work yet.
|
|
if err != nil {
|
|
println(err.Error())
|
|
}
|
|
}
|