mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
add a new example
This commit is contained in:
16
_examples/configuration/multi-environments/main.go
Normal file
16
_examples/configuration/multi-environments/main.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/kataras/my-iris-app/cmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
app := cmd.New()
|
||||
if err := app.Execute(); err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user