mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 03:47:04 +00:00
Start of the internal cmd
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
This commit is contained in:
15
internal/cmd/main.go
Normal file
15
internal/cmd/main.go
Normal file
@@ -0,0 +1,15 @@
|
||||
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())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user