1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

add one more project structure recommendation

This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-11-19 14:13:42 +02:00
parent d62392bebc
commit 226a4cb064
15 changed files with 1166 additions and 1 deletions

21
_examples/project/main.go Normal file
View File

@@ -0,0 +1,21 @@
package main
import (
"fmt"
"os"
"github.com/username/project/cmd"
)
var (
buildRevision string
buildTime string
)
func main() {
app := cmd.New(buildRevision, buildTime)
if err := app.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}